Using Exclusive Write Access
Some use cases require that you restrict write access to your SLD. For example, during a system migration you may want to ensure that no data in the old SLD is changed until the migration to the new SLD is finished in order to avoid losing such changes.
For such purposes SLD provides features for exclusive write access. Write access will be restricted whereas read access is possible as usual. You have two options:
· Grant exclusive write access for a single user
This may be necessary if you yourself need to make changes to the SLD content, but you need to prohibit that anyone else performs any changes.
· Deny write access for all users
This option is appropriate if no one should be allowed to change any data.
Exclusive write access can be configured by any SLD administrative user. Any setting you select is persisted and will therefore still be active after an SLD restart.
...
1. Log on to the SLD UI with an administrative user.
2. Choose Administration → Settings.
3. Choose section Server Settings.
4. Select an appropriate value from the dropdown list of parameter Write Protection. The following values are available:
○ None: This setting represent normal operation of SLD. Write access is not restricted. Each user can perform write operations according to his user permissions.
○ Single User: Exclusive write access is granted to the user that enables this setting. Write permissions for any other users are disabled.
○ Read-Only: Write permissions for all users are disabled.
5. Save your changes.