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

WIP API to obtain a quick summary of adminable workspaces and visible layers #68

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

groldan
Copy link
Member

@groldan groldan commented Jul 31, 2024

Fast resolution of adminable workspaces and build improved security filter

Introduce a new API to obtain a quick summary of adminable workspaces and visible layers.

The workspace and layers visibility summary serves two purposes:

  • Allows the ResourceAccessManager.isWorkspaceAdmin(Authentication, Catalog)
    implementation to quickly resolve whether the user is a workspace admin.
  • Allows the ResourceAccessManager.getSecurityFilter(Authentication, Class<? extends CatalogInfo>)
    implementation to build a Filter that can be translated to the Catalog
    and eventually to the catalog backend (e.g. a database)

@groldan groldan force-pushed the feature/adminable_workspaces branch 6 times, most recently from 4f864fb to 28a4561 Compare August 3, 2024 18:04
…ilter

Introduce a new API to obtain a quick summary of adminable workspaces and visible layers.

The workspace and layers visibility summary serves two purposes:

* Allows the `ResourceAccessManager.isWorkspaceAdmin(Authentication, Catalog)`
  implementation to quickly resolve whether the user is a workspace admin.
* Allows the `ResourceAccessManager.getSecurityFilter(Authentication, Class<? extends CatalogInfo>)`
  implementation to build a Filter that can be translated to the Catalog
  and eventually to the catalog backend (e.g. a database)
@groldan groldan force-pushed the feature/adminable_workspaces branch from 28a4561 to 52d4555 Compare August 3, 2024 21:10
@groldan groldan added the enhancement New feature or request label Aug 3, 2024
@groldan groldan marked this pull request as ready for review August 3, 2024 21:24
@groldan groldan merged commit 9023a4a into geoserver:main Aug 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant