File tree 2 files changed +3
-3
lines changed
grails-app/controllers/au/org/ala/userdetails
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ gorm.version=7.3.2
5
5
org.gradle.daemon =true
6
6
org.gradle.parallel =true
7
7
org.gradle.jvmargs =-Dfile.encoding =UTF-8 -Xmx1024M
8
- alaSecurityLibsVersion =6.0.0-SNAPSHOT
8
+ alaSecurityLibsVersion =6.0.4
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class PropertyController extends BaseController {
95
95
)
96
96
@Path (" getProperty" )
97
97
@Produces (" application/json" )
98
- @PreAuthorise (requiredScope = ' users/read' )
98
+ @PreAuthorise (requiredScope = ' users/read' , requiredRole = ' ' )
99
99
def getProperty () {
100
100
String name = params. name
101
101
String alaId = params. alaId
@@ -171,7 +171,7 @@ class PropertyController extends BaseController {
171
171
)
172
172
@Path (" saveProperty" )
173
173
@Produces (" application/json" )
174
- @PreAuthorise (requiredScope = ' users/write' )
174
+ @PreAuthorise (requiredScope = ' users/write' , requiredRole = ' ' )
175
175
def saveProperty (){
176
176
String name = params. name;
177
177
String value = params. value;
You can’t perform that action at this time.
0 commit comments