-
Notifications
You must be signed in to change notification settings - Fork 709
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
Personalize LDAP fields cached #1637
Personalize LDAP fields cached #1637
Conversation
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.
Thanks @maturbet for your contribution.
- Please update
$g_public_config_names
with the new config option name. - Update manual with new config option configuration.
- Add an issue in the bug tracker and reference it from the commit.
@vboctor why do you want it in Independent from that, shouldn't we add all ldap options to |
Is there any hope to view it in MantisBT 2.25 ? |
@atrol I'm fine with your recommendations. |
@maturbet can you elaborate on scenarios where adding more fields (like the room number) would add value? I look at the issue and don't see the scenarios where this would be useful. |
Concerning my other recommendation
To be sure, it means you agree that @maturbet should remove the setting from this array? |
@vboctor here an exemple how we use this functionnality : |
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.
So this PR is basically in support of a local customization, i.e. adding a new ldaplink custom field type that you have defined in your installation.
Unless we are planning to add this to core as well (and I personally don't believe we should), it does not make sense to update the LDAP API per your suggestion.
In my opinion you should maintain this custom code in your own fork.
@dregad |
an other exemple (not from us) |
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.
I suggest updating the issue in the bug tracker with the plugin scenario. I also added a couple of minor comments.
@dregad seriez-vous francophone ? ;-) |
Je suis démasqué 👼 |
@dregad @vboctor |
@maturbet I wonder if what is really needed here is a plugin event that allows adding more fields to the list loaded by LDAP API. This would enable building a plugin that can fetch more LDAP fields and display them or use them in the appropriate scenarios. I would generally prefer that model over the approach in this PR and the one you linked to for adding to the user profile page. |
@vboctor I agree with you, it would certainly be much better. |
Well, I'm throwing in the towel. |
To customize the list of ldap account fields to be cached for a user.