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.

-----------[:node].delete('remove_column') :node,
'remove_column_subject_to_permissions', :after => "add_child_column"

- if current_user.admin? or current_user.publisher? or
( == page.created_by_id and page.status_id == 1)
  %td.remove= link_to ' Remove', remove_admin_page_url(page)

Reply via email to