Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve returned permissions contextually from service structure resources #499

Open
2 tasks
fmigneault opened this issue Jan 28, 2022 · 0 comments
Open
2 tasks

Comments

@fmigneault
Copy link
Collaborator

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant