declarative-authorization
Can't convert Fixnum into String - Devise/sessions Controller issue
So this is the error I see: TypeError in Devise/sessionsController#create can\'t convert Fixnum i开发者_JAVA技巧nto String[详细]
2023-02-06 03:41 分类:问答Declarative authorization with nested resources
I\'m coming here as a last resort, tried everything.Its just not working. So here goes. Here is my authorization code:[详细]
2023-02-05 07:36 分类:问答Devise and Declarative Authorization Functional testing problems
I am having awful trouble getting functional tests to work when using devise and declarative authorization. I can use the devise test helpers to sign_in a user and then the current_user variable is po[详细]
2023-02-03 20:41 分类:问答rails declarative authorization, permit all actions for controller?
using the delcarative_authorization gem for rails, is there a shortcut to allow a role access to all controller actions?[详细]
2023-02-01 01:23 分类:问答After create, set role
I\'m trying to use an after_create to set the default user role to subscriber. But it doesn\'t appear to make any changes. The roles of the new user is always [\" \" ].[详细]
2023-01-30 07:13 分类:问答undefined local variable or method `role' for User:
I keep getting that error when trying to access any of my views. I\'m trying to setup Declaritive Authorization.[详细]
2023-01-27 19:24 分类:问答Declarative_authorization doesn't seem to load?
I\'m running bundler with rails 2.3.4. I\'m trying to get declarative_authorization to work (I added it to my Gemfile).[详细]
2023-01-19 22:53 分类:问答Declarative_Athorization: with_permissions_to for all models on single place
Is there a way to have with_permissions_to in a single place globally so that it applies to EVERY fin开发者_如何学Cder method of all models.[详细]
2023-01-19 13:38 分类:问答Authlogic HTTP Basic UserSession.find returns nil, means declarative_authorization can't get a current_user
When using Authlogic\'s HTTP Basic auth, UserSession.find returns nil since the session appears not to be set. As a result, declarative_authorization, which references the usual current_user method (a[详细]
2023-01-17 11:33 分类:问答How do I use rails 2.3.8 with declarative authorization on heroku?
help rails 3 came out yesterday, we have a fully functional rails 2.3.8 app, but our deployment on he开发者_如何学Croku doesn\'t work because declarative_authorization demands rails 2.1 or higher[详细]
2023-01-14 12:08 分类:问答