The goal of this workshop is to restrict access to spreadsheets based on the active user, with separate rights to read/write/print spreadsheets.
The access permissions are stored in a repository; Up to you to verify access through a permission evaluator!
-
Create a
CustomPermissionEvaluator(hint: implementsPermissionEvaluator) which verifies access against theSpreadsheetPermissionStore -
Don’t forget to configure method security
-
PreAuthorizeour customSpreadsheetPrintAccessannotation to allow printing -
Run the tests to verify your implementation