diff --git a/README.md b/README.md index ef4ff09c0..6eea1fac3 100644 --- a/README.md +++ b/README.md @@ -198,6 +198,15 @@ OSMT optionally supports role-based access, with these roles: Role-based access is disabled by default. You can follow these steps to enable it. +* Note: if the role value is false, all endpoints will be exposed, make sure to enable this value to use Roles +```text + BACKEND: application.properties file + app.enableRole=true + + FRONTEND: ui/src/app/auth/auth-roles.ts + export const ENABLE_ROLES = true +``` + In your [`application.properties`](api/src/main/resources/config/application.properties) file, configure these values: ``` # Roles settings