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