There is a new configuration mechanism in place that allows for the 
deactivation of tabs in the main tab bar of the admin ui. Here's how it works:

Configuration is tenant based. For more information about multi-tenency in 
Matterhorn http://opencast.jira.com/wiki/display/MH/Multitenancy

Each tenant has a config file in $FELIX/load. This configuration, in 
particular, features the definition of arbitrary keys. We introduced the key 
schema

        prop.adminui.<HTML_ID_OF_TAB>.enable=true|false

By default every tab is enabled, so to hide a tab please add that respective 
key and set it to false. The ids of the tabs can be found in the head section 
of the index.html of the admin ui. Search for <script 
type="text/x-jqote-template" id="tabs-template">.

Example for $FELIX/load/org.opencastproject.organization-tenant1.cfg disabling 
the episode tab:

        id=tenant1
        name=Client University
        server=127.0.0.1
        port=8080
        admin_role=ROLE_ADMIN
        anonymous_role=ROLE_ANONYMOUS

        # schema to define which part of the admin ui should be visible
        prop.adminui.i18n_tab_episode.enable=false


Christoph



_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to