Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Group permission #585
Note that this PR depends of :
It can be tested and reviewed. Theses following things will come nearly :
Optional (depends of my time) :
How to test
Actually it's not possible to use theses new feature with the actual LDAP schema, so you need to do the postinstall to have clean LDAP schema with the new features.
With ynhdev :
What You can test
The group management
You should be able to create a group of a user by this command :
After you should be able add a user in your group :
You can also list all of group in Yunohost by this command :
The permission management
By default you have 3 permission :
By default all user is permitted. If you want to specify the permission you can use the app access like concept :
Note that it's just some example.
Integration in application
To give the possiblitly to the application to know which user is allowed access to it you need to configure the LDAP connector with theses parameter :
Note that the main diffrence is a new filter.