nextcloud / photos

📸 Your memories under your control
GNU Affero General Public License v3.0
557 stars 61 forks source link

Allow to configure the available menu entries #1506

Open csware opened 1 year ago

csware commented 1 year ago

Is your feature request related to a problem? Please describe. The menu of the photo app contains menu options for "faces" and "maps" - even when the apps are not installed (or I as a admin never want to install these).

Describe the solution you'd like Automatically hide the options when the apps are not installed or make it configurable to hide these entries.

bpmartin20 commented 1 year ago

+1

joshtrichards commented 1 year ago

They are hidden per #1155 and #343 if the apps aren't installed, but there is an exception: if you're logged in as an administrator. I'm not sure why that exception is made.

https://github.com/nextcloud/photos/blob/1b2ceb66c6bf746d94fcc5e6dea66d00d43f7eea/src/Photos.vue#L161-L167