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

Initial support for custom BDs by user's roles #120

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

DimShadoWWW
Copy link

Initial support for custom databases by user's roles (used only on a new account registration)

        defaultDBs: {
            private: ['private1'],
            shared: ['shared1']
        },
        customDBs: [
            {
                roles: "client1",
                DBs: {
                    //   private: none
                    //   shared: shared1, shared2
                    shared: ['shared2']    
                },
            },
            {
                roles: "client2",
                DBs: {
                    //   private: none
                    //   shared: private1
                    private: [],
                    shared: ['private1']
                },
            },
            {
                roles: "inspector1",
                DBs: {
                    //   private: private1
                    //   shared: private1_shared, shared3
                    shared: ['private1', 'shared3']
                },
                approach: 'rename' // append '_shared' if name conflict
            }
        ],

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.

5 participants