Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PermissionAdmin grants all permissions on a team PermissionAdmin = authz.AuthzAction("admin") // PermissionSuperAdmin grants all permissions PermissionSuperAdmin = authz.AuthzAction("superadmin") // PermissionCreate grants the ability to create PermissionCreate = authz.AuthzAction("create") // PermissionDelete grants the ability to delete PermissionDelete = authz.AuthzAction("delete") // PermissionEdit grants the ability to edit PermissionEdit = authz.AuthzAction("edit") // PermissionView grants the ability to read PermissionView = authz.AuthzAction("view") )
View Source
const ( // RoleAdmin grants all permissions on a team RoleAdmin = authz.AuthzAction("Admin") // RoleSuperAdmin grants all permissions RoleSuperAdmin = authz.AuthzAction("Super Admin") // RoleOwner grants all permissions RoleOwner = authz.AuthzAction("Owner") // Editor grants the ability to edit RoleEditor = authz.AuthzAction("Editor") // RoleViewer grants the ability to read RoleViewer = authz.AuthzAction("Viewer") )
View Source
const ( CreateDesignCommentUrlFormat = "/designs/%s/comments" CreateDesignUrlFormat = "/designs/new?template=%s" CreateEnvironmentUrlFormat = "/environments" CreateLensUrlFormat = "/lenses" CreateProfileUrlFormat = "/profiles/new" CreateTagUrlFormat = "/tags/new" CreateTemplateUrlFormat = "/templates/new" CreateWorkloadUrlFormat = "/workloads/new" DeleteDesignUrlFormat = "/designs/%s" DeleteEnvironmentUrlFormat = "/environments/%s" DeleteLensUrlFormat = "/lenses/%s" DeleteProfileUrlFormat = "/profiles/%s" DeleteTagUrlFormat = "/tags/%s" DeleteTemplateUrlFormat = "/templates/%s" EditBodyUrlFormat = "/designs/%s/body/edit" EditTitleUrlFormat = "/designs/%s/title/edit" ListTagsUrlFormat = "/tags" ListTemplatesUrlFormat = "/templates" ListWorkflowsUrlFormat = "/workflows" ShowDesigUrlFormat = "/designs/%s" ShowProfileUrlFormat = "/profiles/%s" ShowTemplateUrlFormat = "/templates/%s" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.