-
Notifications
You must be signed in to change notification settings - Fork 148
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
User model #575
Closed
Closed
User model #575
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…b.com:amazeeio/lagoon into user-model
MariaDB doesn't care which way you do it, so let's just do it with the parentheses in case we ever need parameters later. > In current releases of MariaDB, CALL p() and CALL p are equivalent. Ref: https://mariadb.com/kb/en/library/call/
To accept user IDs instead of SSH keys
This loops through all orphaned SSH keys (SSH keys without a related user in user_ssh_key) and: 1. Creates a user 2. Creates a row in the user_ssh_key key to map the new user to the SSH key 3. Migrates all existing customer permissions to customer_user 4. Migrates all existing project permissions to project_user
- Move SSH key DAO functions to user.js, refactor - Add new user DAO functions - Rewrite stored procedures to use Knex - Update old GraphQL queries - Add new GraphQL queries - Add userBySshKeys query
Babel Relay plugin removed in b8da078
karlhorky
force-pushed
the
user-model
branch
from
September 17, 2018 19:03
9a43a1a
to
1ea3975
Compare
35 tasks
Also configure Node version in engines to ensure compatibility with newer features like this.
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merging blocked on #536, #551, #555, #560, #562 and #563 because this PR contains commits from those PRs.To use, rebuild containers:
Maybe also need to
rm
thebuild/yarn-workspace-builder
file?TODO:
ssh
token
command to verify SSH key against usersssh_key
,project_ssh_key
,customer_ssh_key
)ssh_key
,project_ssh_key
,customer_ssh_key
,permissions
)ssh.+key
)api-data.gql
)Later:
lagu users
,lagu user
)Planning:
Database Tables
User fields partly inspired by Django User model
GraphQL