Comments (5)
Thks for your job,
can you do a pull request please ?
2012/7/3 James McKinney <
[email protected]
See my gist: https://gist.github.com/3040303
It enforces cancan on menus, action items,
default_actions
in index
tables, and when using AA'sauto_link
.
Reply to this email directly or view it on GitHub:
#3
from activeadmin-cancan.
There are some issues expressed in the comments to that gist about the initializer raising exceptions on the legacy Dashboard and on Comments controllers, so a few tweaks need to be made.
Also, I'm not sure how you'd like to split up the gist into different files, and since the gist is longer than your entire gem, I figure you can do some copy-paste to add this useful functionality.
I'm quite happy using my initializer and skipping activeadmin-cancan altogether.
from activeadmin-cancan.
hey, the gist is working well. are there any plans to integrate it inside your gem?
from activeadmin-cancan.
No plans currently.
from activeadmin-cancan.
it looks like there is no need for this gem anymore. with activeadmin 0.6.0 you can define cacan as an authorization-adapter http://activeadmin.info/docs/13-authorization-adapter.html#setting_up_your_own_authorizationadapter
from activeadmin-cancan.
Related Issues (9)
- Not sure if it is working HOT 4
- current activeadmin gem not working with cancan HOT 4
- Cancancan has replaced Cancan
- how to assign permissions to the user and how to create the form as a new user with the option of permissions? HOT 1
- Authorization Not Performed HOT 1
- immediately after bundle install HOT 8
- this gem not compatible to activeadmin 0.5.0 HOT 1
- Models not loaded in normal controllers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from activeadmin-cancan.