An error occurred fetching the project authors.
- 01 Aug, 2018 1 commit
-
-
gfyoung authored
Partially addresses #47424.
-
- 04 May, 2018 2 commits
-
-
Mario de la Ossa authored
-
Mario de la Ossa authored
-
- 10 Apr, 2018 2 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
-
- 22 Feb, 2018 2 commits
-
-
Bob Van Landuyt authored
This ability can be disabled when an external authorization service is enabled.
-
Bob Van Landuyt authored
-
- 01 Aug, 2017 2 commits
-
-
Kamil Trzcinski authored
-
Z.J. van de Weg authored
-
- 30 Jun, 2017 1 commit
-
-
Nick Thomas authored
-
- 29 Jun, 2017 1 commit
-
-
http://jneen.net/ authored
-
- 28 Jun, 2017 2 commits
-
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
- 27 Jun, 2017 2 commits
-
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
- 09 Mar, 2017 1 commit
-
-
http://jneen.net/ authored
to make sure we mean the global permissions
-
- 25 Jan, 2017 1 commit
-
-
Jarka Kadlecova authored
-
- 18 Jan, 2017 1 commit
-
-
Jarka Kadlecova authored
-
- 14 Dec, 2016 1 commit
-
-
Filipa Lacerda authored
Remove empty line
-
- 13 Dec, 2016 1 commit
-
-
Grzegorz Bizon authored
-
- 12 Dec, 2016 1 commit
-
-
Grzegorz Bizon authored
-
- 08 Dec, 2016 1 commit
-
-
Grzegorz Bizon authored
-
- 01 Sep, 2016 1 commit
-
-
Robert Speicher authored
Refactor ability.rb into Policies Factors out `ability.rb` into a new abstraction - the "policy" (stored in `app/policies`). A policy is a class named `#{class_name}Policy` (looked up automatically as needed) that implements `rules` as follows: ``` ruby class ThingPolicy < BasePolicy def rules @user # this is a user to determine abilities for, optionally nil in the anonymous case @subject # this is the subject of the ability, guaranteed to be an instance of `Thing` can! :some_ability # grant the :some_ability permission cannot! :some_ability # ensure that :some_ability is not allowed. this overrides any `can!` that is called before or after delegate! @subject.other_thing # merge the abilities (can!) and prohibitions (cannot!) from `@subject.other_thing` can? :some_ability # test whether, so far, :some_ability is allowed end def anonymous_rules # optional. if not implemented `rules` is called where `@user` is nil. otherwise this method is called when `@user` is nil. end end ``` See merge request !5796
-
- 30 Aug, 2016 17 commits
-
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-
http://jneen.net/ authored
-