-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add label for logo link #37435
Add label for logo link #37435
Conversation
/backport to stable26 |
/backport to stable25 |
$user ??= $this->userSession->getUser(); | ||
|
||
if ($user !== null) { | ||
$userDefaultApps = explode(',', $this->config->getUserValue($user->getUID(), 'core', 'defaultapp')); |
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.
defaultapp
?
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.
Does not seem to be updatable from the web UI but added in db86bea probably for admins to set with
occ user:setting admin core defaultapp files
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.
Do we actually support users setting their own default app?
Also my main concern was more about the string itself. What does "defaultApp" refers too? There is no app named like that?
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.
Do we actually support users setting their own default app?
Can only be set by an admin from what I can see
Also my main concern was more about the string itself. What does "defaultApp" refers too? There is no app named like that?
Probably thought the string was the default fallback? 'defaultapp'
is actually passed as the key
argument for
Line 196 in 31f4f41
public function getUserValue($userId, $appName, $key, $default = ''); |
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.
All good apart from skjnldsv comments.
ca9e361
to
7c6ffd9
Compare
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.
tested different scenarios and it works! Thank you
7c6ffd9
to
39fbb22
Compare
Signed-off-by: Christopher Ng <[email protected]>
39fbb22
to
4f8e916
Compare
Summary
Add a descriptive label for the logo link
To be backported to
stable25
for accessibilityTODO
span
translated stringlogoUrl
Checklist