mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-07 10:10:56 +00:00
Add User Role and Allow/Disallow Roles to control Element Visibility
This commit is contained in:
parent
4d295c10b7
commit
c5c714ff63
58 changed files with 3261 additions and 166 deletions
web-frontend/modules/builder
10
web-frontend/modules/builder/constants.js
Normal file
10
web-frontend/modules/builder/constants.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* Constants related to Visibility and Roles
|
||||
*/
|
||||
export const VISIBILITY_ALL = 'all'
|
||||
export const VISIBILITY_NOT_LOGGED = 'not-logged'
|
||||
export const VISIBILITY_LOGGED_IN = 'logged-in'
|
||||
export const ROLE_TYPE_ALLOW_ALL = 'allow_all'
|
||||
export const ROLE_TYPE_ALLOW_EXCEPT = 'allow_all_except'
|
||||
export const ROLE_TYPE_DISALLOW_EXCEPT = 'disallow_all_except'
|
||||
export const DEFAULT_USER_ROLE_PREFIX = '__user_source_'
|
Loading…
Add table
Add a link
Reference in a new issue