Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Daniel Hambüchen

Prevent public filters from beeing deleted.

Hi,

i have defined some public filters for my views. Some of them are set as default. Unfortunately, some users delete them again and again by mistake.

Is there any way, do manage permissions for users? So they can use public filters but cannot delete them or create new ones?

1 week, 3 days ago
Stefan van den Dungen Gronovius
Developer

Hi Daniel,

If you’re satisfied with a table view including the filters and segments, you could export them on our Tools page and/or store them in PHP with our Local Storage system. There are no specific capabilities for managing the (global) saved filters. If you have the capabilities to manage the columns in our plugin (manage_admin_columns) you can also manage the saved filters.

1 week, 3 days ago
Daniel Hambüchen

Hi Stefan, okay. Thank you!

1 week, 3 days ago
Daniel Hambüchen

Well if tried. even if users don’t have the permission “manage_admin_columns” they can delete public filters. This is unfortunate because they are often deleted by mistake.

1 week, 3 days ago
Stefan van den Dungen Gronovius
Developer

I checked the code and I can confirm that the capability ‘manage_admin_columns’ is needed.
But you’re right, the delete button is displayed for users without the capability.
Fortunately, the actual capability check if performed correctly during the call,
Even though the item is removed from the list when clicking the remove button, it is not removed.
I’ll mark this as an issue so we can fix the incorrect remove button in the list

1 week, 2 days ago
Daniel Hambüchen

Great, thank you!

1 week, 2 days ago

You must be logged in to reply to this topic.