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

Implement suspend in permission control #7

Open
4 tasks
junwei0117 opened this issue May 8, 2020 · 1 comment
Open
4 tasks

Implement suspend in permission control #7

junwei0117 opened this issue May 8, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@junwei0117
Copy link
Contributor

junwei0117 commented May 8, 2020

In the current implementation, there are only two functions to control the permission, Grant and Revoke , but we need to consider suspend a user temporarily.

Except output:

  • Implement user suspend in DropKit smart contract

Implement user suspend API:

  • /permission/suspend/table/owner
  • /permission/suspend/table/maintainer
  • /permission/suspend/table/viewer
@junwei0117 junwei0117 self-assigned this May 8, 2020
@junwei0117 junwei0117 added the enhancement New feature or request label May 8, 2020
@YingHan-Chen
Copy link

I want to clarify the requirement.

The suspend feature may have the following forms.

  • Each quest suspends one user's permission to a specific role in a table
    • Admins need to maintain users' permission to all tables and corresponding roles themself
  • Each quest suspends one user's permission to a specific table
    • Admins need to maintain users' permission to all tables themself
  • Each quest suspends one user's permission to all tables
    • This method is much close to group permission control. A group consists of permissions to multiple tables
    • If we want to do so, I think we can implement group permission control directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants