Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

designing a role system #4

Open
albjeremias opened this issue Sep 6, 2021 · 6 comments
Open

designing a role system #4

albjeremias opened this issue Sep 6, 2021 · 6 comments
Labels

Comments

@albjeremias
Copy link
Contributor

albjeremias commented Sep 6, 2021

Implement a role system on the backend. the roles will be the following:

Registered User

  • can select all public networks
  • can create a button on any public network
  • can access and create buttons private networks, which are assigned to this user
  • can publish on the newsfeed of the button

Guest

  • can explore the public networks and read the buttons

Network administrator

  • Can set a network as private and generate a link to invite new users to the network
  • Can remove users from a network so they won't have access no more
  • Can edit the network

Network creator (same as Network admin and also) :

-Can delete the network
-Can block other admins

Instance/server administrator

  • can create networks, and generate a link to invite users to manage it, can invite users to manage network
  • all the above
@albjeremias albjeremias changed the title thinks about roles for the networks roles for the networks Sep 7, 2021
@albjeremias
Copy link
Contributor Author

@watchoutfreedom does this make sense?

@albjeremias albjeremias self-assigned this Sep 8, 2021
@watchoutfreedom
Copy link
Contributor

yes, it would be good to define this alongside the user model. Some features like "support" other users can affect those categories but I feel those 4 are the main important ones.

@watchoutfreedom
Copy link
Contributor

When are we defining the user model?

@albjeremias
Copy link
Contributor Author

When are we defining the user model?

#9

@albjeremias
Copy link
Contributor Author

this will define maybe api endpoints, and also is verrry related with the ACL. which means #10 and #25 need to be implemented first

@albjeremias albjeremias added the depends on other issue label Sep 13, 2021
@albjeremias albjeremias removed their assignment Sep 15, 2021
@albjeremias albjeremias added enhancement New feature or request extra and removed requirement depends on other issue labels Sep 24, 2021
@albjeremias
Copy link
Contributor Author

@albjeremias albjeremias changed the title roles for the networks designing a role system Jul 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants