Constants.Roles =============== .. java:package:: org.motechproject.mds.util :noindex: .. java:type:: public static final class Roles :outertype: Constants The \ ``Roles``\ contains constant values related with security roles. Fields ------ DATA_ACCESS ^^^^^^^^^^^ .. java:field:: public static final String DATA_ACCESS :outertype: Constants.Roles Users with ‘Data Access’ have the ability to view the Data Browser tab. From that tab then can search for objects within the system, view and modify the data stored in the system. HAS_ANY_MDS_ROLE ^^^^^^^^^^^^^^^^ .. java:field:: public static final String HAS_ANY_MDS_ROLE :outertype: Constants.Roles Spring security el expression to check if the given user has any of the MDS roles. **See also:** :java:ref:`.SCHEMA_ACCESS`, :java:ref:`.SETTINGS_ACCESS`, :java:ref:`.DATA_ACCESS` HAS_DATA_ACCESS ^^^^^^^^^^^^^^^ .. java:field:: public static final String HAS_DATA_ACCESS :outertype: Constants.Roles Spring security el expression to check if the given user has the 'Data Access' role. **See also:** :java:ref:`.DATA_ACCESS` HAS_DATA_OR_SCHEMA_ACCESS ^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public static final String HAS_DATA_OR_SCHEMA_ACCESS :outertype: Constants.Roles Spring security el expression to check if the given user has the 'Schema Access' or 'Data Access' roles. **See also:** :java:ref:`.SCHEMA_ACCESS`, :java:ref:`.DATA_ACCESS` HAS_SCHEMA_ACCESS ^^^^^^^^^^^^^^^^^ .. java:field:: public static final String HAS_SCHEMA_ACCESS :outertype: Constants.Roles Spring security el expression to check if the given user has the 'Schema Access' role. **See also:** :java:ref:`.SCHEMA_ACCESS` HAS_SETTINGS_ACCESS ^^^^^^^^^^^^^^^^^^^ .. java:field:: public static final String HAS_SETTINGS_ACCESS :outertype: Constants.Roles Spring security el expression to check if the given user has the 'Settings Access' role. **See also:** :java:ref:`.SETTINGS_ACCESS` SCHEMA_ACCESS ^^^^^^^^^^^^^ .. java:field:: public static final String SCHEMA_ACCESS :outertype: Constants.Roles Users with ‘Schema Access’ have the ability to view the Schema Editor tab of the UI. Then can add new objects, delete existing objects and modify the fields on existing objects. SETTINGS_ACCESS ^^^^^^^^^^^^^^^ .. java:field:: public static final String SETTINGS_ACCESS :outertype: Constants.Roles Users with ‘Settings Access’ have the ability to view the Settings tab. From that tab then can modify data retention policies as well as import and export schema and data.