Skip to content

Commit

Permalink
fix: update RBAC rules
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki authored and machi1990 committed Jul 2, 2020
1 parent cf156b5 commit 1ab9f3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/server/src/config/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const authConfig: CrudServicesAuthConfig = {
delete: { roles: ['admin'] },
},
Volunteer: {
create: { roles: ['admin'] },
create: { roles: [] },
read: { roles: [] },
update: { roles: [] },
delete: { roles: ['admin'] },
Expand All @@ -22,7 +22,7 @@ export const authConfig: CrudServicesAuthConfig = {
VolunteerAction: {
create: { roles: ['admin'] },
read: { roles: [] },
update: { roles: ['admin'] },
update: {roles: [] },
delete: { roles: ['admin'] },
},
VolunteerActionProduct: {
Expand Down

0 comments on commit 1ab9f3b

Please sign in to comment.