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

Refactor to avoid using jsonb for user permissions #228

Merged
merged 3 commits into from
Mar 25, 2022

Conversation

javuto
Copy link
Collaborator

@javuto javuto commented Mar 23, 2022

JSONB is used to store user permissions and that is stopping us to support other backends than PostgreSQL. Also I believe the issue with the backend and the settings is also related to this and the population of settings.

  • Removal of jsonb from user permissions and refactoring
  • Removal of headers as authentication

Until a better solution in in place (expected in the next few days), all users will behave as administrators for the platform. Version 0.2.8 will have this issue fully resolved.

@javuto javuto added osctrl-api osctrl-api related changes osctrl-admin osctrl-admin related changes osctrl-cli osctrl-cli related changes backend Backend related issues labels Mar 23, 2022
@javuto javuto changed the title WIP: Refactor to avoid using jsonb for user permissions Refactor to avoid using jsonb for user permissions Mar 25, 2022
@javuto javuto merged commit dab1c98 into main Mar 25, 2022
@javuto javuto deleted the user-permission-not-json branch March 25, 2022 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend related issues osctrl-admin osctrl-admin related changes osctrl-api osctrl-api related changes osctrl-cli osctrl-cli related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant