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

Add Settings - Authorization to Backend #6

Open
jopache opened this issue Sep 16, 2017 · 0 comments
Open

Add Settings - Authorization to Backend #6

jopache opened this issue Sep 16, 2017 · 0 comments

Comments

@jopache
Copy link
Owner

jopache commented Sep 16, 2017

Will need to create the following table structure:
Blocked: #4 (authentication backend)

  1. Permissions
    -- Id
    -- EnvironmentId
    -- ApplicationId
    -- UserId
    -- Role (1 = ReadSettings, 10 = WriteSettings, 20 = CreateChildApplication, 30 = CreateChildEnvironment) spaced out by 10 allows me to add things like decryptsettings in the future
    (NOTE: Think about these queries... this hierarchical data could get quite complex)

Will then need to tap in read/write endpoints to authorize against a new authorization service.

For now this will assume that a user has access to all applications/environments as there is some additional complexity to deal with there. Will do this by creating a test user as part of seed script with all access to root of both.

@jopache jopache added this to the Initial Authentication/Authorization milestone Sep 16, 2017
@jopache jopache changed the title Add Authorization to Backend Add Settings - Authorization to Backend Sep 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant