[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: not the right time to implement permis
From: |
gnunet |
Subject: |
[libeufin] branch master updated: not the right time to implement permissions |
Date: |
Thu, 28 May 2020 17:24:39 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 71dc355 not the right time to implement permissions
71dc355 is described below
commit 71dc355d216e606dba01e3a170d3dd612e0d894b
Author: MS <ms@taler.net>
AuthorDate: Thu May 28 17:24:21 2020 +0200
not the right time to implement permissions
---
nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
index fdc28f5..89d0fbf 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
@@ -948,9 +948,6 @@ fun serverMain(dbName: String) {
post("/facades") {
val body = call.receive<FacadeInfo>()
val user = authenticateRequest(call.request)
- if (user.id.value != body.creator) throw NexusError(
- HttpStatusCode.BadRequest, "Facade creator !=
authenticated user"
- )
transaction {
FacadeEntity.new(body.name) {
type = body.type
@@ -964,6 +961,7 @@ fun serverMain(dbName: String) {
call.respondText("Facade created")
return@post
}
+
route("/facades/{fcid}") {
route("taler") {
talerFacadeRoutes(this)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: not the right time to implement permissions,
gnunet <=