lib/fcrepo_admin/configurable.rb in fcrepo_admin-0.5.5 vs lib/fcrepo_admin/configurable.rb in fcrepo_admin-0.6.0

- old
+ new

@@ -6,10 +6,20 @@ # FcrepoAdmin configuration settings # mattr_accessor :read_only self.read_only = false + mattr_accessor :object_permissions + self.object_permissions = { + :audit_trail => :read, + :content => :read, + :history => :read, + :permissions => :read, + :solr => :read, + :upload => :edit + } + # MIME types representing text content that do not have "text" media type. mattr_accessor :extra_text_mime_types self.extra_text_mime_types = ['application/xml', 'application/rdf+xml', 'application/json'] # Datastream profile keys for values to display on datastream index view @@ -35,18 +45,18 @@ mattr_accessor :max_editable_datastream_size self.max_editable_datastream_size = 1024 * 64 # Object context navigation items mattr_accessor :object_nav_items - self.object_nav_items = [:pid, :summary, :datastreams, :permissions, :associations, :audit_trail, :object_xml] + self.object_nav_items = [:pid, :summary, :datastreams, :permissions, :associations, :audit_trail, :object_xml, :solr] # Datastream profile values to display on object show view mattr_accessor :object_show_datastream_columns self.object_show_datastream_columns = ["dsLabel"] # Methods on ActiveFedora::Base objects that represent Fcrepo object properties mattr_accessor :object_properties - self.object_properties = [:label, :state, :create_date, :modified_date, :owner_id] + self.object_properties = [:label, :state, :create_date, :modified_date, :owner_id, :models] # Number of documents to display per page on associations show view mattr_accessor :association_show_docs_per_page self.association_show_docs_per_page = 10