-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
turn LDAP's treat remnants as disabled feature config-independent #46992
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
base: master
Are you sure you want to change the base?
Conversation
65f3833 to
6a0351e
Compare
apps/user_ldap/lib/Migration/RearrangeMarkRemnantsAsDisabled.php
Outdated
Show resolved
Hide resolved
6a0351e to
6876d4f
Compare
a6ebee8 to
e06e762
Compare
e06e762 to
be1f72b
Compare
Signed-off-by: Arthur Schiwon <[email protected]>
- *ldap_mark_remnants_as_disabled were old values and removed now, after - combining their value and storing into current backend_mark_remnants_as_disabled Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
be1f72b to
98a6a53
Compare
|
/compile amend / |
Signed-off-by: Arthur Schiwon <[email protected]> Signed-off-by: nextcloud-command <[email protected]>
98a6a53 to
654f167
Compare
| } | ||
|
|
||
| protected function getGlobalAppValueAsBool(string $varName): bool { | ||
| static $appConfig; |
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.
Same as the other one, static var is scary. Cache in a property or do not cache. (There is no way to reset the static var ever, while, the property can be reset by trashing the object and building a new one)
|
@blizzz It would be nice to rebase this on the vue rewrite and remove the static vars. Then we can merge. |
Summary
Since former LDAP users cannot be bound to a server configuration anymore (or theoretically belong to more than one) this feature has to be config independent. This PR:
A backport to 28 will need further adjustments as
IAppConfigwas only introduced in 29.Checklist