11factory / activeadmin-cancan Goto Github PK
View Code? Open in Web Editor NEWCanCan integration for ActiveAdmin
License: MIT License
CanCan integration for ActiveAdmin
License: MIT License
i'm install this gem in activeadmin 0.5.0 not working the error :
undefined local variable or method `resource_dsl' for #ActiveAdmin::Namespace:0xa2374b8
help pls
Hi,
So far I have no errors on the logs...
The thing is that I have some abilities that allow a user with role 'leader' only read projects with an status of finished... But still the projects index page is listing all the projects, and if I click on the show page of a started project that leader user is still able of seeing the information.
Is this the correct behavior?
When I require your gem, FooController#index doesn't load @foos etc. Is this by design or is this a bug? How do you recommend I handle this?
/gems/activeadmin-cancan-0.1.2/lib/activeadmin-cancan/authorization.rb:9:in register': undefined local variable or method
resource_dsl' for #ActiveAdmin::Namespace:0x007f8d41431888 (NameError)
Cancan is no longer being updated. Cancancan https://github.com/CanCanCommunity/cancancan has been created as a continuation of Cancan. Is this compatible?
how to assign permissions to the user and how to create the form as a new user with the option of permissions?
I`ve installed the activeadmin gem and also this one and I'm getting this error:
CanCan::AuthorizationNotPerformed in Admin::DashboardController#index
This action failed the check_authorization because it does not authorize_resource. Add skip_authorization_check to bypass this check.
See my gist: https://gist.github.com/3040303
It enforces cancan on menus, action items, default_actions
in index tables, and when using AA's auto_link
.
if i install the activeadmin gem from the current github repo, then i get that errormessage
NoMethodError - protected method `authorize!' called for #Admin::UsersController:0xa4f301c:
if i go back to official 0.5.1 - working
dont know why.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.