grifart/scoped-authorization

v2.0.0 2021-01-04 16:14 UTC

This package is auto-updated.

Last update: 2024-12-05 00:41:28 UTC


README

Uses concept of "scopes" to define scope-specific roles for users.

This is useful when there are for users that gains project-level permissions. This means they have manager-level access to project A and guest-level access to project B.

Another user can have global role of administrator and can gain access to all projects without need of being part of a project.

Further sources

Contributing

This repository is fork of mangoweb-backend/authorization.

Primary development place is gitlab.grifart.cz. master is automatically replicated back to github:grifart/manogweb-backend-authorization.

Submitting contribution into fork

Internal contributions

Use GitLab and open merge request, target: master. After merge it will be automatically propagated to GitHub.

External contributions

External developers: Use GitHub, open pull request targeting our master master.

Internal reviewer and maintainer:

  • fetch changes to local repo
  • then merge into local master
  • push local master into gitlab/master (this will be automatically propagated to GitHub)
  • remove branches that are not needed anymore

Recommended git remotes setup

git remote add origin https://gitlab.grifart.cz/grifart/authorization.git
git remote add github-grifart https://github.com/grifart/manogweb-backend-authorization.git
git remote add github-mangoweb https://github.com/mangoweb-backend/authorization.git