Closed drunkplato closed 2 years ago
A booth owner (group-owner) should be able to:
admin
member
create-proposal
members
All of these permissions should essentially allow or disallow a participant from accessing various endpoints on the host.
read-proposal
vote-proposal
edit-proposal
delete-proposal
add-participant
remove-participant
change-settings
In a settings page of the UI you would be able to set permissions (to be designed). Essentially it would work like this:
const adminPermissions = [`read-proposal`, `vote-proposal`, `create-proposal`, `edit-proposal`, `delete-proposal`, `add-member`, `remove-member`, `change-settings`] const memberPermissions = [`read-proposal`, `vote-proposal`]
The owner role could do everything.
owner
It's almost like every action has a permission associated with it.
Permissions
A booth owner (group-owner) should be able to:
admin
,member
)admin
permission tocreate-proposal
members
permission tocreate-proposal
admin
/member
(defaultmember
)admin
permissionmembers
permissionPermission list:
All of these permissions should essentially allow or disallow a participant from accessing various endpoints on the host.
read-proposal
vote-proposal
create-proposal
edit-proposal
delete-proposal
add-participant
remove-participant
change-settings
In a settings page of the UI you would be able to set permissions (to be designed). Essentially it would work like this:
The
owner
role could do everything.It's almost like every action has a permission associated with it.