Groups
Sign in
Groups
declarative_authorization
Conversations
About
Send feedback
Help
declarative_authorization
Contact owners and managers
1–30 of 366
Mark all as read
Report group
0 selected
Steven Noble
3/3/16
Acting as admin when reading a web page programatically
In one of my sidekiq workers, I load a page that's only visible to admins, like this: require
unread,
Acting as admin when reading a web page programatically
In one of my sidekiq workers, I load a page that's only visible to admins, like this: require
3/3/16
Steven Noble
11/25/15
How to automatically authorize in-app access of my controllers
My app often generates HTML, reads it, and turns it into a PDF. So, a common pattern in my Sidekiq
unread,
How to automatically authorize in-app access of my controllers
My app often generates HTML, reads it, and turns it into a PDF. So, a common pattern in my Sidekiq
11/25/15
Melanie M
,
Xavier B
2
6/25/14
Creating the Role model
Hi Melanie, Sorry for the late response. I hope it is still useful. The way I handle roles is almost
unread,
Creating the Role model
Hi Melanie, Sorry for the late response. I hope it is still useful. The way I handle roles is almost
6/25/14
Misha Slyusarev
,
Sue Petersen
3
2/12/14
current_user & current_administrator
I'd like to have it as a separate model to keep information that a regular user wouldn't have
unread,
current_user & current_administrator
I'd like to have it as a separate model to keep information that a regular user wouldn't have
2/12/14
Douglas Magnenat
, …
Edward Rudd
6
6/12/13
How to disable access control in migrations ?
I'm pretty sure that rails adds in the "vendor plugins" to the search path. On Jun 11,
unread,
How to disable access control in migrations ?
I'm pretty sure that rails adds in the "vendor plugins" to the search path. On Jun 11,
6/12/13
Jonathan Bramble
,
Edward Rudd
4
5/20/13
sql problems with has_many :through
On May 20, 2013, at 10:09 , Jonathan Bramble wrote: Hi Edward, Thanks for looking at my question.
unread,
sql problems with has_many :through
On May 20, 2013, at 10:09 , Jonathan Bramble wrote: Hi Edward, Thanks for looking at my question.
5/20/13
David Morton
5/13/13
Is there a "false" scope?
I'm wondering if there is a way to create a rule the will always return an empty result set... I
unread,
Is there a "false" scope?
I'm wondering if there is a way to create a rule the will always return an empty result set... I
5/13/13
Chris
2
4/10/13
if_attribute fails on server but not Rails console
The error seems to have been caused by current_user lacking the 'index' permission on that
unread,
if_attribute fails on server but not Rails console
The error seems to have been caused by current_user lacking the 'index' permission on that
4/10/13
Jakub Racek
2/7/13
Mountable engine
Hello is it possible to work with declarative_authorization inside a mountable engine please ?
unread,
Mountable engine
Hello is it possible to work with declarative_authorization inside a mountable engine please ?
2/7/13
Chao Yan
2/2/13
How to apply rules of superclass to subclasses automatically
I have a model S and many subclass models A, B, C, D. ... The same rules applied to both S and ABCD .
unread,
How to apply rules of superclass to subclasses automatically
I have a model S and many subclass models A, B, C, D. ... The same rules applied to both S and ABCD .
2/2/13
Sean Hussey
, …
Mohamed Shaamil
6
1/29/13
uninitialized constant Authorization when using Passenger
Hello Sean Hussey I am having the same problem..How did you resolve this problem... I would be glad
unread,
uninitialized constant Authorization when using Passenger
Hello Sean Hussey I am having the same problem..How did you resolve this problem... I would be glad
1/29/13
David Morton
,
Brad Langhorst
2
1/17/13
rule gets canceled out?
I should probably be circumspect about replying given my recent embarrassing history - but nobody
unread,
rule gets canceled out?
I should probably be circumspect about replying given my recent embarrassing history - but nobody
1/17/13
Brad Langhorst
,
Langhorst, Brad
3
1/16/13
:role_ids => intersects_with {user.role_ids} != :roles => intersects_with {user.roles}
I should have checked more carefully… the 1=1 was coming from another rule that I did not notice. I
unread,
:role_ids => intersects_with {user.role_ids} != :roles => intersects_with {user.roles}
I should have checked more carefully… the 1=1 was coming from another rule that I did not notice. I
1/16/13
marct...@googlemail.com
12/22/12
with_permission_to confusion
Users have permission to manage articles for particular combinations of location and category. For
unread,
with_permission_to confusion
Users have permission to manage articles for particular combinations of location and category. For
12/22/12
Jerome Lefeuvre
,
Andrea S.
2
12/6/12
check if a group of ids is in array of ids of my user
I have a very similar question. For any given users I can determine user.accessible_foo_ids or user.
unread,
check if a group of ids is in array of ids of my user
I have a very similar question. For any given users I can determine user.accessible_foo_ids or user.
12/6/12
Edward Rudd
, …
Steffen Bartsch
9
11/5/12
permissions on has_many relationships
On Thursday, 6 September 2012 06:47:52 UTC-4, steffenb wrote: Am 01.09.2012 04:28, schrieb Edward
unread,
permissions on has_many relationships
On Thursday, 6 September 2012 06:47:52 UTC-4, steffenb wrote: Am 01.09.2012 04:28, schrieb Edward
11/5/12
Dan
10/30/12
integration with Hobo permissions
Has anyone integrated with the Hobo library permission system? If so, can you share your approach? If
unread,
integration with Hobo permissions
Has anyone integrated with the Hobo library permission system? If so, can you share your approach? If
10/30/12
Edward Rudd
, …
Derek Atkins
4
10/10/12
permissions on polymorphic relationships
Hi, On Wednesday, August 31, 2011 3:03:47 PM UTC-4, steffenb wrote: Am Dienstag, 30. August 2011
unread,
permissions on polymorphic relationships
Hi, On Wednesday, August 31, 2011 3:03:47 PM UTC-4, steffenb wrote: Am Dienstag, 30. August 2011
10/10/12
Chris
9/28/12
Javascript permitted_to?
I use declarative_authorization as the last word on permissions server-side, but I'd like to be
unread,
Javascript permitted_to?
I use declarative_authorization as the last word on permissions server-side, but I'd like to be
9/28/12
Chris
9/21/12
Data-specific permissions
I have an application to manage the various permissions of people and groups. Different people and
unread,
Data-specific permissions
I have an application to manage the various permissions of people and groups. Different people and
9/21/12
Bishma Stornelli
,
Edward Rudd
3
8/25/12
How to reload authorization rules?
Thank you very much. That wasn't what I need but gave me the idea to make it. I fork the repo and
unread,
How to reload authorization rules?
Thank you very much. That wasn't what I need but gave me the idea to make it. I fork the repo and
8/25/12
robacarp
8/24/12
specifying context on has_permissions_on throws an error in console
I'm not entirely sure if I'm doing this correct or not, but I can't sort this out in the
unread,
specifying context on has_permissions_on throws an error in console
I'm not entirely sure if I'm doing this correct or not, but I can't sort this out in the
8/24/12
Mike
8/15/12
Using without_access_control with Cucumber and @javascript
Hoping you can help me skip over my Declarative Authorization rules when using Cucumber. I currently
unread,
Using without_access_control with Cucumber and @javascript
Hoping you can help me skip over my Declarative Authorization rules when using Cucumber. I currently
8/15/12
Bishma Stornelli
8/14/12
Permissions stored in the database
Hello, I'm designing a system that needs the admin to be able to change permissions of roles.
unread,
Permissions stored in the database
Hello, I'm designing a system that needs the admin to be able to change permissions of roles.
8/14/12
Bishma Stornelli
8/14/12
Dynamic permissions
Hello everyone, I'm designing a system that has the next entities: User, Project, Activity.
unread,
Dynamic permissions
Hello everyone, I'm designing a system that has the next entities: User, Project, Activity.
8/14/12
Christopher Thielen
,
Edward Rudd
2
7/28/12
Authorization design question
Actually without_access_control would be the way to go. You just need to only use it around just the
unread,
Authorization design question
Actually without_access_control would be the way to go. You just need to only use it around just the
7/28/12
John Bachir
,
Edward Rudd
10
7/17/12
One controller serving two routes
On Jul 17, 2012, at 17:18 , John Bachir wrote: Thanks Edward, very helpful stuff. Next thought:
unread,
One controller serving two routes
On Jul 17, 2012, at 17:18 , John Bachir wrote: Thanks Edward, very helpful stuff. Next thought:
7/17/12
Nicholas Martin
7/10/12
has_permission_on attribute can be nil or false
Hi, Firstly, thanks for such a great gem, it has saved me so much time and I am still discovering new
unread,
has_permission_on attribute can be nil or false
Hi, Firstly, thanks for such a great gem, it has saved me so much time and I am still discovering new
7/10/12
j.n
7/7/12
problems with oauth (omniauth-facebook gem) to work with with declarative authorization.
Hi all! I am trying to get declaratice authorization working with oauth, especially to login to my
unread,
problems with oauth (omniauth-facebook gem) to work with with declarative authorization.
Hi all! I am trying to get declaratice authorization working with oauth, especially to login to my
7/7/12
David Morton
2
6/24/12
all my functional tests are dead
related to thread with subject ""Permission denied" in rspec but working fine in
unread,
all my functional tests are dead
related to thread with subject ""Permission denied" in rspec but working fine in
6/24/12