Commit 12bd2bae authored by Sanad Liaquat's avatar Sanad Liaquat Committed by Annabel Dunstone Gray

Fix six gem link

parent 5d278579
...@@ -90,7 +90,7 @@ In addition, you probably do not want to delete such an important branch, hence ...@@ -90,7 +90,7 @@ In addition, you probably do not want to delete such an important branch, hence
By basing permissions on simple principles and adding protected branches, By basing permissions on simple principles and adding protected branches,
GitLab allows you to set up any type of workflow, while protecting your code from easily made mistakes. GitLab allows you to set up any type of workflow, while protecting your code from easily made mistakes.
Underlying this elegant scheme is a surprisingly simple authorization gem, Underlying this elegant scheme is a surprisingly simple authorization gem,
[Six](http://randx.github.io/six/). [Six](https://gitlab.com/dzaporozhets/six).
In a single class `Ability`, we have defined a number of class methods to set the permissions. In a single class `Ability`, we have defined a number of class methods to set the permissions.
For instance, for _Developer_: For instance, for _Developer_:
...@@ -130,7 +130,7 @@ def destroy ...@@ -130,7 +130,7 @@ def destroy
end end
``` ```
By using the plain-ruby approach of [Six](http://randx.github.io/six/) you get a very flexible By using the plain-ruby approach of [Six](https://gitlab.com/dzaporozhets/six) you get a very flexible
and expendable authorization solution. and expendable authorization solution.
In GitLab we leverage this to create easy to understand permissions In GitLab we leverage this to create easy to understand permissions
that reflect how most organisations use GitLab. that reflect how most organisations use GitLab.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment