Trying to create an extension for our roles here and I want to remove
the ability to change the status of a page from some users, but I
can't figure out how to remove the status area. The syntax used
doesn't make a whole lot of sense to me. Here's how I removed and re-
added the "Delete" option from the admin index (used code), but I
can't remove the update status field.
roles.rb
-----------
admin.page.index[:node].delete('remove_column')
admin.page.index.add :node,
'remove_column_subject_to_permissions', :after => "add_child_column"
remove_column_subject_to_permissions.haml
on 2010-11-24 17:46
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.