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

Update Community Schema to Support Role-Based Permissions in UPv1 #153

Closed
3 tasks done
Behzad-rabiei opened this issue Mar 13, 2024 · 0 comments · Fixed by #154
Closed
3 tasks done

Update Community Schema to Support Role-Based Permissions in UPv1 #153

Behzad-rabiei opened this issue Mar 13, 2024 · 0 comments · Fixed by #154
Assignees

Comments

@Behzad-rabiei
Copy link
Member

Behzad-rabiei commented Mar 13, 2024

Description:

To facilitate the new role-based permission system in UPv1, the Community schema in Mongo-Lib needs to be updated. This involves adjusting the schema to accurately represent user roles and permissions within communities.

Tasks:

  • Schema Redesign: Redesign the Community schema to incorporate roles and permissions, ensuring it can adequately support the new 'view' and 'admin' roles. The redesign should reflect the provided schema options and be optimized for efficient role and permission management.
  • Auto-Assign Admin Role: Implement a mechanism within the Platform schema that automatically assigns the 'admin' role to the creator of the platform.
  • Auto-Delete Role: Implement a mechanism within the Platform schema that automatically deletes roles associated paltform if platform deleted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant