magpie.permissions
magpie.permissions.
Permission
Bases: six.with_metaclass()
six.with_metaclass()
READ
READ_MATCH
WRITE
WRITE_MATCH
ACCESS
GET_CAPABILITIES
GET_MAP
GET_FEATURE_INFO
GET_LEGEND_GRAPHIC
GET_METADATA
GET_FEATURE
DESCRIBE_FEATURE_TYPE
DESCRIBE_PROCESS
EXECUTE
LOCK_FEATURE
TRANSACTION
convert_permission
Converts any permission representation to the Permission enum.
If the permission cannot be matched to one of the enum’s value, None is returned instead.
None
format_permissions
Obtains the formatted permission representation after validation that it is a member of Permission enum.
The returned list is sorted alphabetically and cleaned of any duplicate entries.