In this monthly tips & tricks article we will show you how to prevent the deletion of objects without GEONIS server Security by removing the “Delete” button from the attribute masks either specifically or globally.
Since GEONIS server version 6 data can be edited with each license level via the attribute mask. However, without GEONIS server Security, user permissions cannot be granularly assigned. Nevertheless there are possibilities to control certain permissions globally, per project or per mask.
Solution for all masks
The following lines must be added to the configuration files:
|
|
With this customization, all masks are displayed without the “Delete” button.
Solution for single masks only
To remove the “Delete” button for individual masks only, proceed as follows. Here described for GEONIS server version 2017 and the use in WebOffice:
|
|
|
|
For the GEONIS server version 6.0.x only the file indexWebOffice.aspx has to be copied, adapted and specified in the URL of the masks without “Delete” button.
Attention: After an update the configuration must be customized again.