Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A api
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • ironapi
  • api
  • Wiki
  • Permissions

Last edited by Andrea Pavlovic Sep 22, 2022
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Permissions

Home

Permissons

To explain basic permissioning, we will use a helpdesk example. This is the basic table structure of our example:

permission_inheritance.png

There are three groups of users:

  • employees
  • customers
  • accounting

The setup designed to make sure customers only see their own tickets, empoyees to have private comments and the accountants to have a set of departments (which are a tree) they are able to do actions for.

Tickets

Apart from read, write and delete actions, there is an additional "pay" action which will change the state of a ticket. Here is a quick overview of who can do which action:

             read   write   delete  pay
------------------------------------------             
employee      all   all     all      -
customer     own    own     own      -
accounting   all     -       -       -
------------------------------------------
Clone repository
  • API
    • Available Endpoints
    • Changing Passwords
    • Form Input Types
    • Introduction
    • Logout
    • Plugins
    • Queries
    • Queries
      • Attributes
      • Context
      • Query Examples
      • Query Search Options
      • Referenced Instances
      • Saved Queries
    • Schema_Changes
    • Storing Files
View All Pages