Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add administrative interface #219

Open
diegoamc opened this issue May 18, 2015 · 4 comments
Open

Add administrative interface #219

diegoamc opened this issue May 18, 2015 · 4 comments
Labels

Comments

@diegoamc
Copy link
Contributor

Would be nice to manage Prezento's content without using the console.
See: https://github.com/sferik/rails_admin

@alvarofernandoms
Copy link
Contributor

Hi Diego,

What are the models that you wanna in this interface? User, Project, MetricConfiguration and ReadingGroup?

I'm working in this issue and I am worried about authorization and acess permissions to this feature. The documentation of the RailsAdmin suggests that we use CanCan gem, but I don't know if this is the best way to do this.

What do you think about this?

PS: my work branch.

@rafamanzo
Copy link
Member

Hi @alvarofernandoms,

You can go with the global configuration: https://github.com/sferik/rails_admin/wiki/Base-configuration

CanCan is just necessary if we want different levels of access for differents users with administration access. What we really want is to set a special admin flag on regular users allowing those special users full access to the administrative interface. You can achieve this with the Devise configuration: https://github.com/sferik/rails_admin/wiki/Devise

Looks like you are halfway done looking at your work branch. Nice :)

@alvarofernandoms
Copy link
Contributor

Thanks, @rafamanzo! 👍

@EduardoBrasil EduardoBrasil mentioned this issue Jul 2, 2015
@rafamanzo
Copy link
Member

More context on the work done on this issue can be found at: http://librelist.com/browser//mezuro/2015/6/23/rails-admin-issue-219/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants