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

design for access privileges for 1.0 #20

Open
GoogleCodeExporter opened this issue Jul 12, 2015 · 4 comments
Open

design for access privileges for 1.0 #20

GoogleCodeExporter opened this issue Jul 12, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

User privileges needs to be modeled some way for both users schema and the
web UI.

The plan is to initially assign a 32-bit integer per user that has a bit
for each controllable privilege that we want to control per user.  An admin
user would have all these 32-bits set.  A normal user would have only a
small subset of these bits set.

Specification (see comments for further fields):

Bit | Default |       Description 
----+---------+----------------------------
0   | 0       | Allow to create new users
1   | 0       | Allow to edit other users
2   | 1       | Allow to edit wiki pages
3   | 1       | Allow delegation of other people's tasks
4   | 1       | Allow modification of other people's tasks

Original issue reported on code.google.com by [email protected] on 6 Dec 2007 at 9:40

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 6 Dec 2007 at 9:40

  • Added labels: Milestone-Release1.0

@GoogleCodeExporter
Copy link
Author

As a rule of thumb for reviewing the privileges, a privilege set of all zeros 
should
never be allowed to make any DB modifications.

Original comment by [email protected] on 6 Dec 2007 at 10:14

@GoogleCodeExporter
Copy link
Author

Pushing to release 1.1.  Current user="admin" check should be fine in the first
version.  The current implementation will allow for relatively easy addition of 
more
fine-grained access control.

Original comment by [email protected] on 9 Dec 2007 at 11:36

  • Added labels: Component-Logic, Milestone-Release1.1
  • Removed labels: Milestone-Release1.0

@GoogleCodeExporter
Copy link
Author

Pushing yet again to a later release.  Not needed yet.

Original comment by [email protected] on 31 Dec 2007 at 6:06

  • Added labels: Milestone-Release1.2
  • Removed labels: Milestone-Release1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant