Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Genesys Backend Genesys Backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 28
    • Issues 28
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGRGenesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #317
Closed
Open
Issue created Sep 07, 2018 by Matija Obreza@mobrezaOwner

Subsets API and ACL

Subsets generally belong to an institute (FaoInstitute). Extend Subset model by overriding method aclParentObject() and return this.institute as parent object. This will grant manage permissions to all users that have permission on the institute.

Update ..ServiceImpl to test for ADMINISTRATOR role or hasPermission(#subset, 'WRITE') using @PreAuthorize.

API

Add a method listMySubsets that returns user's subsets regardless of state. Base this method on existing listMy**** methods from the Catalog.

Edited Sep 07, 2018 by Matija Obreza
Assignee
Assign to
Time tracking