Skip to content

Feat new public permissions - #823

Merged
eldadfux merged 6 commits into
0.7.xfrom
feat-new-public-permissions
Jan 14, 2021
Merged

eldadfux merged 6 commits into
0.7.xfrom
feat-new-public-permissions

Conversation

@eldadfux

@eldadfux eldadfux commented Jan 14, 2021 •

Copy link
Copy Markdown
Member

What does this PR do?

Minor code refactoring. Changing role names from numbers to meaningful names that could be used to set new permission for Appwrite resources (documents, collections, files and more) both by end users and internally. I'll later update the docs here: https://appwrite.io/docs/permissions with the new changes. The first new permission we'll introduce will be: role:guest, role:member, and role:app. Let me know if naming conventions are good enough and consisted with other parts of the system.

Test Plan

Updated the database tests to support this changes. No breaking changes for end-users as this roles were never publicly introduced.

Related PRs and Issues

None

Have you read the Contributing Guidelines on issues?

Yes

@eldadfux

Copy link
Copy Markdown
Member Author

@TorstenDittmann note that I have move the Background Jobs classes initing from the general controller to the api controller because they are not relevant for the web based controller (home & console controllers).

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 this pull request may close these issues.

2 participants