1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00
Commit graph

14 commits

Author SHA1 Message Date
Linus Marton
29353840d6
Update CHANGELOG with unreleased changes 2018-04-27 13:34:39 +02:00
Jonas Nicklas
b0bdfbc0db tagged 1.1.0 2016-01-14 16:06:50 +01:00
Jonas Nicklas
eb8f513dfe Merge branch 'permitted_attributes_param_key' of https://github.com/Envek/pundit into Envek-permitted_attributes_param_key
I removed the option of manually specifying the param_key
2016-01-14 13:25:32 +01:00
Andrey Novikov
db74632a90 Fixes and simplifications for previous commit (to be squashed) 2015-07-15 12:58:54 +03:00
Semyon Pupkov
e8a0d48581 Fix typo 2015-06-07 12:52:37 +05:00
Jonas Nicklas and Kim Burgestrand
145d7592c0 tagged 1.0.1 2015-05-27 18:31:53 +02:00
Jonas Nicklas
582ee78c2b Tagged 1.0.0 2015-04-19 13:27:14 +02:00
Radan Skoric
d2ff617cd3 Add pundit_policy_authorized? and pundit_policy_scoped? methods
In some cases we might need to simply check if `authorize` or
`policy_scope` were called, without immediately raising and exception.
In other cases we might be happy if either was called and only want
to raise if neither was called.

All those edge cases are most easily served by exposing lower level
function which just perform the checks and return `true` or `false`.

The `verify_*` methods can then build on top of them to offer a
convenient path for the most common use cases.
2015-04-01 14:00:13 +02:00
Jonas Nicklas
6033c475c2 Update changelog 2014-08-22 13:26:44 +02:00
Jonas Nicklas
753bb0a2b6 Revert namespaces 2014-08-22 11:19:36 +02:00
Thomas Klemm
7ebc33e112 Update CHANGELOG 2014-07-13 11:07:01 +02:00
Thomas Klemm
463699f174 Update CHANGELOG 2014-04-28 23:00:48 +02:00
Thomas Klemm
c028f722e6 Update changelog 2014-04-07 00:22:38 +02:00
Thomas Klemm
94787da5e3 Add CHANGELOG 2014-02-09 09:43:33 +01:00