Skip to content

Improve returned permissions contextually from service structure resources #499

@fmigneault

Description

@fmigneault

Instead of listing all permissions define under the original Resource type, the API should report the applicable permissions for this kind of resource given it resides under a specific service type, which can enforce specific permissions and positions of children resources structure.

  • adjust GET /services/types/{}/resources to return contextual resource_types_permissions instead of the full service's permissions
  • adjust services resource_types_permissions to apply relevant permissions (eg: GetCapabilities valid on WFS service, but not on Workspace and Layer)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions