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

Fix user's creating root elements (like Databases) #38

Open
Edward-Upton opened this issue Aug 25, 2022 · 2 comments · Fixed by #45
Open

Fix user's creating root elements (like Databases) #38

Edward-Upton opened this issue Aug 25, 2022 · 2 comments · Fixed by #45
Labels
bug Something isn't working enhancement New feature or request high-priority

Comments

@Edward-Upton
Copy link
Contributor

Currently, any element that is made without a parent defaults to having Admin privileges across the board. This means when a user tries to create a database, they will not be authorized to, and even if they do they won't be able to modify the DB.

Possible solutions here are:

  • Root elements are made with the same permissions as the creator (since inheriting permissions from a parent is not possible).
  • Set up default permissions for different element types, for example, a rule saying a database inherits permissions from a user (like above).
@Edward-Upton Edward-Upton added bug Something isn't working enhancement New feature or request high-priority labels Aug 25, 2022
@Edward-Upton Edward-Upton added this to To do in Fully Customizable Platform via automation Aug 25, 2022
@Edward-Upton
Copy link
Contributor Author

For now, I will add a fix in createElement that allows any user (must be logged in) to create specifically database elements without any parent.

@Edward-Upton Edward-Upton moved this from To do to In progress in Fully Customizable Platform Sep 4, 2022
@Edward-Upton Edward-Upton linked a pull request Sep 4, 2022 that will close this issue
Fully Customizable Platform automation moved this from In progress to Done Sep 4, 2022
@Edward-Upton
Copy link
Contributor Author

Still not closed since the current solution is not safe

@Edward-Upton Edward-Upton reopened this Sep 4, 2022
Fully Customizable Platform automation moved this from Done to In progress Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request high-priority
Projects
Development

Successfully merging a pull request may close this issue.

1 participant