declarative-authorization
PrincipalPermission on PageLoad
I\'m a newbie about the usage of Asp.NET membership capabilities and I want to know if it co开发者_开发百科uld be a good practice to deny the access of a whole page using code like this:[详细]
2023-04-13 03:48 分类:问答Rails Declarative Authentication fails
We get an error with declarative authentication on CREATE and UPDATE\'s.We are not sure why, as somehow in the error it shows no user being authenticated and somehow the session is getting lost:[详细]
2023-04-05 18:41 分类:问答Object-level authorization database structure in Rails
I\'m writing a rails application that has a need for very fine-grained authorization at the object level. Other systems use p开发者_运维知识库lugins such as acl9 or declarative_authorization however I[详细]
2023-04-03 09:46 分类:问答declarative_authorization Authorization.current_user error
I have authlogic set up and want to use declarative_authorization. In Ryan Bates\'s railcast #188 he uses[详细]
2023-04-02 01:29 分类:问答Why does declarative_authorization break the functionality of my controller? - Rails 3
I have a Coupons controller with two actions. class CouponsController < ApplicationController filter_resource_access[详细]
2023-03-31 11:23 分类:问答Why does a view I think I made public, still prompt me for login? - Rails3 + decl_auth
This is my authorization_rules.rb: role :guest do has_permission_on [:paying_users], :to => [:index][详细]
2023-03-17 15:02 分类:问答Authentication failing during functional tests
I have a Ruby on Rails app that I\'m working on and I\'m having some problems with my functional tests.In particular, I keep getting denied access during my tests to pages that are possible to access[详细]
2023-03-17 06:00 分类:问答has_permission_on with Declarative Authorization, non attribute condition
I want to give authorization to a开发者_JS百科 specific action if a session variable is set in my app. I can\'t figure out how to do this. Something like:[详细]
2023-03-15 18:32 分类:问答How to pass through parameters during Devise login
How do I pass parameters during the Devise sign-in process? I have a collection of users, each with their own profile page.I want them to be able to view their own profile page but none of the other[详细]
2023-03-03 12:03 分类:问答Using declarative_authorization to limit results in the model
I am using the declarative authorization gem for permissions in a rails project and I am trying to limit output from the model based on user permissions.[详细]
2023-03-02 19:34 分类:问答