= render layout: 'help/layout' do
  %h3.page-title Permissions
  %p.light User has different abilities depends on access level he has in particular group or project
  %hr

  %h4 Project:
  %table.table
    %thead
      %tr
        %th Action
        %th Guest
        %th Reporter
        %th Developer
        %th Master
        %th Owner
    %tbody
      %tr
        %td Create new issue
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Leave comments
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Write on project wall
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Pull project code
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Download project
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Create code snippets
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Create new merge request
        %td
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Create new branches
        %td
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Push to non-protected branches
        %td
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Remove non-protected branches
        %td
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Add tags
        %td
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Write a wiki
        %td
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Add new team members
        %td
        %td
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Push to protected branches
        %td
        %td
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Remove protected branches
        %td
        %td
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Edit project
        %td
        %td
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Add Deploy Keys to project
        %td
        %td
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Configure Project Hooks
        %td
        %td
        %td
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Switch public mode
        %td
        %td
        %td
        %td
        %td.permission-x &#10003;
      %tr
        %td Transfer project to another namespace
        %td
        %td
        %td
        %td
        %td.permission-x &#10003;
      %tr
        %td Remove project
        %td
        %td
        %td
        %td
        %td.permission-x &#10003;

  %h4 Group
  %table.table
    %thead
      %tr
        %th Action
        %th Guest
        %th Reporter
        %th Developer
        %th Master
        %th Owner
    %tbody
      %tr
        %td Browse group
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
        %td.permission-x &#10003;
      %tr
        %td Edit group
        %td
        %td
        %td
        %td
        %td.permission-x &#10003;
      %tr
        %td Create project in group
        %td
        %td
        %td
        %td
        %td.permission-x &#10003;
      %tr
        %td Manage group members
        %td
        %td
        %td
        %td
        %td.permission-x &#10003;
      %tr
        %td Remove group
        %td
        %td
        %td
        %td
        %td.permission-x &#10003;
