geonode.api.authorization
Classes
Object level API authorization based on GeoNode granular |
|
Override ApiKeyAuthentication to prevent 401 response when no api key is provided. |
|
Object level API authorization based on GeoNode granular permission system. |
|
API authorization for all resources which are not protected by others authentication/authorization mechanism. |
|
API authorization that allows only authenticated users to view list of users |
|
API authorization for all resources which are not protected by others authentication/authorization mechanism. |
|
API authorization for all resources which are not protected by others authentication/authorization mechanism. |
Module Contents
- class geonode.api.authorization.GeoNodeAuthorization[source]
Bases:
tastypie.authorization.DjangoAuthorizationObject level API authorization based on GeoNode granular permission system
- class geonode.api.authorization.GeonodeApiKeyAuthentication[source]
Bases:
tastypie.authentication.ApiKeyAuthenticationOverride ApiKeyAuthentication to prevent 401 response when no api key is provided.
- class geonode.api.authorization.GeoNodeStyleAuthorization[source]
Bases:
GeoNodeAuthorizationObject level API authorization based on GeoNode granular permission system.
Style object permissions should follow it’s layer permissions.
- class geonode.api.authorization.ApiLockdownAuthorization[source]
Bases:
tastypie.authorization.DjangoAuthorizationAPI authorization for all resources which are not protected by others authentication/authorization mechanism.
If setting “API_LOCKDOWN” is set to True, resource can only be accessed by authenticated users. For anonymous requests, empty lists are returned.
- class geonode.api.authorization.GeoNodePeopleAuthorization[source]
Bases:
tastypie.authorization.DjangoAuthorizationAPI authorization that allows only authenticated users to view list of users
- class geonode.api.authorization.GroupAuthorization[source]
Bases:
ApiLockdownAuthorizationAPI authorization for all resources which are not protected by others authentication/authorization mechanism.
If setting “API_LOCKDOWN” is set to True, resource can only be accessed by authenticated users. For anonymous requests, empty lists are returned.
- class geonode.api.authorization.GroupProfileAuthorization[source]
Bases:
ApiLockdownAuthorizationAPI authorization for all resources which are not protected by others authentication/authorization mechanism.
If setting “API_LOCKDOWN” is set to True, resource can only be accessed by authenticated users. For anonymous requests, empty lists are returned.