Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
openebench-rest-api
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INB
ELIXIR
OpenEBench
openebench-rest-api
Commits
36f5a4f0
Commit
36f5a4f0
authored
Jan 22, 2021
by
redmitry@list.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
is readable by anyone
parent
b4bf835c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
src/main/java/es/bsc/inb/elixir/openebench/rest/auth/CommunityAuthorization.java
...b/elixir/openebench/rest/auth/CommunityAuthorization.java
+1
-5
No files found.
src/main/java/es/bsc/inb/elixir/openebench/rest/auth/CommunityAuthorization.java
View file @
36f5a4f0
...
...
@@ -40,13 +40,9 @@ public class CommunityAuthorization extends AbstractAuthorization {
@Override
public
boolean
isReadable
(
final
Document
contact
)
{
if
(
sc
.
isUserInRole
(
Roles
.
ADMIN
))
{
return
true
;
}
return
false
;
}
@Override
public
boolean
isWritable
(
final
Document
doc
)
{
if
(
sc
.
isUserInRole
(
Roles
.
ADMIN
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment