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

SQL driver for OCM invitation manager #3617

Merged
merged 3 commits into from
Jan 26, 2023

Conversation

gmgigi96
Copy link
Member

@gmgigi96 gmgigi96 commented Jan 23, 2023

This PR adds the sql driver for the OCM invitation manager, meant to be used in production.

Script to create sql tables:

CREATE TABLE ocm_tokens (
    token VARCHAR(255) NOT NULL PRIMARY KEY,
    initiator VARCHAR(255) NOT NULL,
    expiration DATETIME NOT NULL,
    description VARCHAR(255) DEFAULT NULL
);

CREATE TABLE ocm_remote_users (
    initiator VARCHAR(255) NOT NULL,
    opaque_user_id VARCHAR(255) NOT NULL,
    idp VARCHAR(255) NOT NULL,
    email VARCHAR(255) NOT NULL,
    display_name VARCHAR(255) NOT NULL,
    PRIMARY KEY (initiator, opaque_user_id, idp)
);

@gmgigi96 gmgigi96 force-pushed the ocm-invite-mgr-sql branch 6 times, most recently from 76e4ef1 to fa87003 Compare January 24, 2023 09:31
@gmgigi96 gmgigi96 marked this pull request as ready for review January 24, 2023 16:16
@gmgigi96 gmgigi96 requested review from labkode, glpatcern and a team as code owners January 24, 2023 16:16
@glpatcern glpatcern merged commit 9e3fd96 into cs3org:master Jan 26, 2023
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