-
-
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
feat: make systemtags public visible #48206
Conversation
7244306
to
e3a0f90
Compare
ba84f93
to
33403e1
Compare
663268a
to
9d535f6
Compare
apps/systemtags/lib/Listeners/BeforeSabrePubliclyLoadedListener.php
Outdated
Show resolved
Hide resolved
apps/dav/lib/Server.php
Outdated
@@ -197,7 +197,7 @@ public function __construct(IRequest $request, string $baseUri) { | |||
} | |||
|
|||
// system tags plugins | |||
$this->server->addPlugin(\OC::$server->get(SystemTagPlugin::class)); | |||
// $this->server->addPlugin(\OCP\Server::get(SystemTagPlugin::class)); |
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.
?
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.
Added in the apps/systemtags/lib/Listeners/BeforeSabrePubliclyLoadedListener.php
now :)
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.
Withdrawn, this event is for public only 🤦
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.
What about SabrePluginAddEvent
?
apps/systemtags/lib/Listeners/LoadAdditionalScriptsListener.php
Outdated
Show resolved
Hide resolved
9d535f6
to
6973ce7
Compare
Done @susnux |
There are 2 flags: can assign, can see. Restricted is false, true. So would be okay to show from that perspective. But I can see how guests add a new angle to it. |
I'd prefer to avoid adding yet another config 😭 |
6973ce7
to
f70dbe7
Compare
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
f70dbe7
to
abd0cdd
Compare
fix #40364
Of course if the tag is made invisible in the settings, it will also apply.
I'm also thinking if it would make sense to NOT show restricted tags on public