rest.properties 814 B

12345678910111213141516171819202122
  1. # Default REST security configuration.
  2. #
  3. # By default this configuration locks down every rest call. The following is an example of a more
  4. # lax configuration in which read only (GET) access is allowed anonymously:
  5. #
  6. #/**;GET=IS_AUTHENTICATED_ANONYMOUSLY
  7. #/**;POST,DELETE,PUT=ROLE_ADMINISTRATOR
  8. #
  9. # The following is an example of a configuration that could be used with the restconfig plugin in
  10. # which only configuration in a specific workspace is restricted:
  11. #
  12. #/rest/workspaces/topp*;GET=ROLE_ADMINISTRATOR
  13. #/rest/workspaces/topp/**;GET=ROLE_ADMINISTRATOR
  14. #/**;POST,DELETE,PUT=ROLE_ADMINISTRATOR
  15. #
  16. # Next line enables access to user self-admin operations (such as changing own password):
  17. #
  18. #/rest/security/self/**;PUT=ROLE_AUTHENTICATED
  19. #
  20. #
  21. /**;GET=ROLE_ADMINISTRATOR
  22. /**;POST,DELETE,PUT=ROLE_ADMINISTRATOR