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

UserControll #30

Open
jaselle opened this issue Sep 2, 2015 · 3 comments
Open

UserControll #30

jaselle opened this issue Sep 2, 2015 · 3 comments

Comments

@jaselle
Copy link

jaselle commented Sep 2, 2015

No description provided.

@jaselle
Copy link
Author

jaselle commented Sep 2, 2015

implement change_column default value

@jaselle
Copy link
Author

jaselle commented Sep 3, 2015

admin change role function
select menu for choosing roles

<%= f.label :role%> <%= f.collection_select(:role, User::ROLES, :to_s, lambda{|i| i.to_s.humanize}) %>

@jaselle
Copy link
Author

jaselle commented Sep 3, 2015

CanCanCan last step!!!!!!

  1. Lock It Down

If you want to ensure authorization happens on every action in your application, add check_authorization to your ApplicationController.

class ApplicationController < ActionController::Base
check_authorization
end

@MiriamBeutel MiriamBeutel added this to the User Administration milestone Sep 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants