Compare commits
1 Commits
hierarch-d
...
remove-wor
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc3afc51e6 |
@@ -27,14 +27,7 @@ service ReviewsService {
|
||||
annotate ReviewsService.Reviews with @restrict:[
|
||||
{ grant:'READ', to:'any' }, // everybody can read reviews
|
||||
{ grant:'CREATE', to:'authenticated-user' }, // users must login to add reviews
|
||||
/////////////////////////////////////////////////
|
||||
//
|
||||
// Temporarily disabling this due to glitch in CAP Node.js runtime:
|
||||
// { grant:'UPDATE', to:'authenticated-user', where:'reviewer=$user' },
|
||||
// -> reenable it when the issue is fixed
|
||||
{ grant:'UPDATE', to:'authenticated-user' },
|
||||
//
|
||||
////////////////////////////////////////////////////
|
||||
{ grant:'UPDATE', to:'authenticated-user', where:'reviewer=$user' },
|
||||
{ grant:'DELETE', to:'admin' },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user