Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict specific users from seeing email addresses and phone numbers #112

Open
mhulet opened this issue Nov 20, 2019 · 0 comments
Open
Labels
enhancement New feature

Comments

@mhulet
Copy link
Member

mhulet commented Nov 20, 2019

The easiest option for now:

  • Add a rebel.role attribute (current values: admin, coordinator, restricted)
  • Set default role to coordinator on user creation
  • Add ability to set role in the user form (select with labels: Admin, Coordinator and Restricted user)
  • In Rebel model, make sure that users with role == 'restricted' cannot retrieve and set email and phone values
  • Remove email and phone fields from rebel form when being edited by restricted user
@mhulet mhulet added the enhancement New feature label Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature
Projects
None yet
Development

No branches or pull requests

1 participant