Skip to content

Commit

Permalink
Fix #169
Browse files Browse the repository at this point in the history
  • Loading branch information
dewmini committed Jul 26, 2023
1 parent 2566cdb commit d205933
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class PropertyController extends BaseController {
)
@Path("getProperty")
@Produces("application/json")
@PreAuthorise(requiredScope = 'users/read')
@PreAuthorise(requiredScope = 'users/read', requiredRole = '')
def getProperty() {
String name = params.name
Long alaId = params.long('alaId')
Expand Down Expand Up @@ -166,7 +166,7 @@ class PropertyController extends BaseController {
)
@Path("saveProperty")
@Produces("application/json")
@PreAuthorise(requiredScope = 'users/write')
@PreAuthorise(requiredScope = 'users/write', requiredRole = '')
def saveProperty(){
String name = params.name;
String value = params.value;
Expand Down

0 comments on commit d205933

Please sign in to comment.