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

Provide a way to select packages for individual users via configuration #50

Open
andersevenrud opened this issue Jan 20, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@andersevenrud
Copy link
Member

Currently, the only way to select what packages a user can use is:

  1. Via metadata.json in a package. Which does not really solve this problem. This is usually only applicable to things that requires admin access.
  2. Via blacklist in the authentication adapters. Which is kind of the opposite of what is suggested here.

So, my thought is just to add a configuration option for this, ex.:

{
  packages: {
    users: {
      username: {
        allow: ['A'],
        deny: ['B']
      }
    }
  }
}

This will allow for doing whitelisting and blacklisting.

@andersevenrud andersevenrud added the enhancement New feature or request label Jan 20, 2019
@andersevenrud andersevenrud self-assigned this Jan 20, 2019
@andersevenrud andersevenrud added help wanted Extra attention is needed good first issue Good for newcomers labels Jan 20, 2019
@andersevenrud
Copy link
Member Author

@andersevenrud
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant