geonode.geoserver.security
Attributes
Functions
purge all existing ACL Rules |
|
|
Delete all rules for a given layer |
invalidate ACL Cache Rules |
|
|
Disable/enable a GeoServer Tiled Dataset Configuration |
|
Delete a GeoServer Tiled Dataset Configuration and all the cache |
|
invalidate GeoWebCache Cache Rules |
|
assign access permissions to all users |
|
Collect ACL rules related to passed perms into a Batch. |
|
Sync resources with Guardian and clear their dirty state |
|
|
|
|
|
|
|
|
|
Module Contents
- geonode.geoserver.security.delete_acl_rules_for_layer(instance)[source]
Delete all rules for a given layer This function wraps the acl_util method, since it doesn’t know about Dataset model
- geonode.geoserver.security.toggle_dataset_cache(dataset_name, enable=True, filters=None, formats=None)[source]
Disable/enable a GeoServer Tiled Dataset Configuration
- geonode.geoserver.security.delete_dataset_cache(dataset_name)[source]
Delete a GeoServer Tiled Dataset Configuration and all the cache
- geonode.geoserver.security.set_geowebcache_invalidate_cache(dataset_alternate, cat=None)[source]
invalidate GeoWebCache Cache Rules
- geonode.geoserver.security.allow_layer_to_all(instance)[source]
assign access permissions to all users
This method is only relevant to Dataset instances that have their underlying data managed by geoserver, meaning:
layers that are not associated with a Service
layers that are associated with a Service that is being CASCADED through geoserver
- geonode.geoserver.security.create_acl_rules(layer, perms, user=None, group=None, batch: geonode.geoserver.acl.acl_client.Batch = None)[source]
Collect ACL rules related to passed perms into a Batch. If the batch does not exist, it is created and returned.