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

YAML support, Directory Support and compound syntax #71

Open
ntrp opened this issue Feb 6, 2020 · 3 comments
Open

YAML support, Directory Support and compound syntax #71

ntrp opened this issue Feb 6, 2020 · 3 comments

Comments

@ntrp
Copy link
Contributor

ntrp commented Feb 6, 2020

Hi, as part of a project we implemented support for YAML format and multi-file support. The YAML support allows to write a more human readable permission config:

users:
  C=DE,O=org,OU=WEB,CN=t1.example.com,L=Stuttgart,ST=reg:
    topics:
      Topic1:
       - Read
      TopicPref_*:
        - All
    groups:
      team1-app1-*:
        - Read
        - Describe

In the YAML example you can also see the compound syntax where you define All to give all permissions on a topic.

The multi-file support allows to organize the permissions in different files to make separation of concerns more easy.

The implementation was done around version 0.5 so I would need to invest some time to create a valid pull request, are you interested in merging this kind of features? Otherwise I will spare the time ^^'

@simplesteph
Copy link
Contributor

simplesteph commented Feb 6, 2020 via email

@ntrp
Copy link
Contributor Author

ntrp commented Feb 6, 2020

Ok then I will try to see first how much effort is to try merging back our fork and then decide if it makes more sense just to re-implement the changes. Can't promise on the timing though since I don't have that much currently, hopefully in the next two weeks..

@simplesteph
Copy link
Contributor

simplesteph commented Feb 6, 2020 via email

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

No branches or pull requests

2 participants