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
Feature: Allow to assign a default role to LDAP users #3823
Feature: Allow to assign a default role to LDAP users #3823
Conversation
…3810) Co-authored-by: lapiudevgit <devgit@lapiu.biz>
…y archive exports (#3812)
Updated translation: Czech by jelen1 Updated translation: Finnish by Jmantysalo Updated translation: Japanese by d_inoue, nomoto Updated translation: Polish by elissa Updated translation: Slovak by jelen1 Updated translation: Turkish by bulent, kayazeren Updated translation: Czech (Informal) by jelen1 Updated translation: Polish (Informal) by elissa
Updated translation: German by c_schmitz Updated translation: Greek by kajetan Updated translation: Malay by aidi.ahmi Updated translation: Nepali by limeguy
…uestions (#3808) Co-authored-by: lapiudevgit <devgit@lapiu.biz>
…ess phpinfo page (#3801) Co-authored-by: lapiudevgit <devgit@lapiu.biz>
Updated translation: Finnish by Jmantysalo Updated translation: Korean by modernity4r Updated translation: German (Informal) by Akaer, c_schmitz
Co-authored-by: lapiudevgit <devgit@lapiu.biz>
…#3783) Co-authored-by: Lajos Arpad <arpad@endpoint.com>
you probably meant to target develop, not master branch? |
Yes sorry. It was abit late yesterday. Can you correct it or should I open a new requests.
Am 19.04.2024 08:12 schrieb Tõnis Ormisson ***@***.***>:
you probably meant to target develop, not master branch?
—
Reply to this email directly, view it on GitHub<#3823 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYQJVINDPV3P4HRUXDX74LTY6CYVHAVCNFSM6AAAAABGOEO6XWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRVHAZTANJVGM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
When i need specific system by plugins : i create plugin event in plugin. I don't know if this feature must be in plugin or in a new plugin. If it's a needed feature : maybe we need a clear API function for other plugin too ? |
Hi @Shnoulle |
No decision here. Just start a discussion about this feature :) . I am not a team leader here. Only an external developer.
I use SAML a lot, and I just use Permission (automatically set). If I use Roles : I surely set roles in LDAP/SAML attribute ! New setting : get role from : I already work on a little plugin who create/set user group according to LDAP group. If we can have from LDAP : i think we must allow it.
It's the reason I like more to have :
Here : if final decision is to get in LDAP plugin : i like to have a function in LimesurveyApi to assign role. |
Ahh... I did not know that. You are so active here and in the Bugtracking forum I mistook you for an maintainer :-)
I you not mind sharing: What SAML plugin are you using? I might be interested as well.
This is part of this pull request. I named the function addUserInRole. But naming things is hard :-) |
Oh yes ! Lost in the partial update from master to develop too :) Great 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to be applied to develop only (without all the other update).
Maybe easier to redo it for develop ?
Ok I open a new pull request based on develop. Sorry for the trouble. |
No need to be sorry here :) PS : before , please :
Others advise on https://manual.limesurvey.org/How_to_contribute_new_features |
https://bugs.limesurvey.org/view.php?id=17227
New feature #17227: Allows to select a role, wich is assigned to all LDAP users. The default is to do nothing so existing setups still work.
To keep the plugin decoupled and facilitate plugin development I also somewhat expanded the plugin api to work with roles.
I'm a bit unsure if how I set the timestamps in addRole is correct and weather it should be called role or permissiontemplate.