Gruppi
Gruppi
Accedi
Gruppi
Gruppi
declarative_authorization
Conversazioni
Informazioni
Invia feedback
Guida
declarative_authorization
1-30 di 366
Segna tutti come già letti
Segnala gruppo
0 selezionati
Steven Noble
03/03/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
da leggere,
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
03/03/16
Steven Noble
25/11/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
da leggere,
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
25/11/15
Melanie M
,
Xavier B
2
25/06/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
da leggere,
Creating the Role model
Hi Melanie, Sorry for the late response. I hope it is still useful. The way I handle roles is almost
25/06/14
Misha Slyusarev
,
Sue Petersen
3
12/02/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
da leggere,
current_user & current_administrator
I'd like to have it as a separate model to keep information that a regular user wouldn't have
12/02/14
Douglas Magnenat
, …
Edward Rudd
6
12/06/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,
da leggere,
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,
12/06/13
Jonathan Bramble
,
Edward Rudd
4
20/05/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.
da leggere,
sql problems with has_many :through
On May 20, 2013, at 10:09 , Jonathan Bramble wrote: Hi Edward, Thanks for looking at my question.
20/05/13
David Morton
13/05/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
da leggere,
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
13/05/13
Chris
2
10/04/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
da leggere,
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
10/04/13
Jakub Racek
07/02/13
Mountable engine
Hello is it possible to work with declarative_authorization inside a mountable engine please ?
da leggere,
Mountable engine
Hello is it possible to work with declarative_authorization inside a mountable engine please ?
07/02/13
Chao Yan
02/02/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 .
da leggere,
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 .
02/02/13
Sean Hussey
, …
Mohamed Shaamil
6
29/01/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
da leggere,
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
29/01/13
David Morton
,
Brad Langhorst
2
17/01/13
rule gets canceled out?
I should probably be circumspect about replying given my recent embarrassing history - but nobody
da leggere,
rule gets canceled out?
I should probably be circumspect about replying given my recent embarrassing history - but nobody
17/01/13
Brad Langhorst
,
Langhorst, Brad
3
16/01/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
da leggere,
: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
16/01/13
marct...@googlemail.com
22/12/12
with_permission_to confusion
Users have permission to manage articles for particular combinations of location and category. For
da leggere,
with_permission_to confusion
Users have permission to manage articles for particular combinations of location and category. For
22/12/12
Jerome Lefeuvre
,
Andrea S.
2
06/12/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.
da leggere,
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.
06/12/12
Edward Rudd
, …
Steffen Bartsch
9
05/11/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
da leggere,
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
05/11/12
Dan
30/10/12
integration with Hobo permissions
Has anyone integrated with the Hobo library permission system? If so, can you share your approach? If
da leggere,
integration with Hobo permissions
Has anyone integrated with the Hobo library permission system? If so, can you share your approach? If
30/10/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
da leggere,
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
28/09/12
Javascript permitted_to?
I use declarative_authorization as the last word on permissions server-side, but I'd like to be
da leggere,
Javascript permitted_to?
I use declarative_authorization as the last word on permissions server-side, but I'd like to be
28/09/12
Chris
21/09/12
Data-specific permissions
I have an application to manage the various permissions of people and groups. Different people and
da leggere,
Data-specific permissions
I have an application to manage the various permissions of people and groups. Different people and
21/09/12
Bishma Stornelli
,
Edward Rudd
3
25/08/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
da leggere,
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
25/08/12
robacarp
24/08/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
da leggere,
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
24/08/12
Mike
15/08/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
da leggere,
Using without_access_control with Cucumber and @javascript
Hoping you can help me skip over my Declarative Authorization rules when using Cucumber. I currently
15/08/12
Bishma Stornelli
14/08/12
Permissions stored in the database
Hello, I'm designing a system that needs the admin to be able to change permissions of roles.
da leggere,
Permissions stored in the database
Hello, I'm designing a system that needs the admin to be able to change permissions of roles.
14/08/12
Bishma Stornelli
14/08/12
Dynamic permissions
Hello everyone, I'm designing a system that has the next entities: User, Project, Activity.
da leggere,
Dynamic permissions
Hello everyone, I'm designing a system that has the next entities: User, Project, Activity.
14/08/12
Christopher Thielen
,
Edward Rudd
2
28/07/12
Authorization design question
Actually without_access_control would be the way to go. You just need to only use it around just the
da leggere,
Authorization design question
Actually without_access_control would be the way to go. You just need to only use it around just the
28/07/12
John Bachir
,
Edward Rudd
10
17/07/12
One controller serving two routes
On Jul 17, 2012, at 17:18 , John Bachir wrote: Thanks Edward, very helpful stuff. Next thought:
da leggere,
One controller serving two routes
On Jul 17, 2012, at 17:18 , John Bachir wrote: Thanks Edward, very helpful stuff. Next thought:
17/07/12
Nicholas Martin
10/07/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
da leggere,
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
10/07/12
j.n
07/07/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
da leggere,
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
07/07/12
David Morton
2
24/06/12
all my functional tests are dead
related to thread with subject ""Permission denied" in rspec but working fine in
da leggere,
all my functional tests are dead
related to thread with subject ""Permission denied" in rspec but working fine in
24/06/12