An error occurred while fetching this tab.
F hide element for role
- Jun 06, 2023
-
-
Daniel Hornung authored
Also testing the element specification by strings. Additionally renamed the "element" parameter (formerly "name").
-
- Jun 05, 2023
For https://gitlab.indiscale.com/caosdb/customers/leibniz-zmt/management/-/issues/169. Add a function that hides a given HTML element for certain roles.
Simply a new API function to prevent that we write this again and again whenever someone wants to have, e.g., "File System" hidden for normal users.
New unit test.
Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines
For further good practices have a look at our review guidelines.
Also testing the element specification by strings. Additionally renamed the "element" parameter (formerly "name").