There have been many changes between Omeka 1.x and 2.x. Many of these changes have been documented on the Omeka Updating Plugins for 2.0 page. Some of the links I've found most useful are below.
- Omeka official list of function replacements
- super
- admin
- researcher
- contributor
Roles are controlled via Zend's ACL methods. The three methods most likely desired for creating new roles are:
Zend_Acl::addRole
- Role (string)
- Role to inherit from (string)
Zend_Acl::allow and Zend_Acl::deny Assigning any of these a null value makes it apply to all types in that parameter.
- Zend_Acl_Role_Interface|string|array $roles
- Zend_Acl_Resource_Interface|string|array $resources
- string|array $privileges
- Zend_Acl_Assert_Interface $assert
As an example, to deny the collaborator role from opening items, you could do $acl->deny('Collaborator', 'Items', 'show'); which would deny the collaborator role access to the admin/items/show path, denying access to viewing. More is happening than that, of course, but that's the most visible side of it.
- Items
- Collections
- ElementSets
- Files
- Plugins
- Settings
- Security
- Upgrade
- Tags
- Themes
- SystemInfo
- ItemTypes
- Users
- Search
- Appearance
TBD
index : Forwards to browse action.
browse : Retrieve and render a set of records for the controller's model.
show : Retrieve a single record and render it.
add : Add an instance of a record to the database
edit : Similar to the 'add' action, except this requires a pre-existing record.
delete-confirm : Ask for user confirmation before deleting a record.
delete : Delete a record from the database.
activate : Activate user.
confirm : Sends account confirmation email to user email.
login : Login user.
logout : Logout user.
me : Redirects to user home
forgot-password : Lost password
register : Registers a user account.
staleToken : ?
updateAccount : Updates Account Action
add : ?
batchEdit : Allows user to make batch changes to files, such as deleting
batchEditSave : ?
browse : ?
changeType : ?
edit : ?
editSelf : ?
editAll
deleteSelf
deleteAll
makeFeatured
makePublic
modifyPerPage
pagination : ?
showNotPublic
showSelfNotPublic
search : ?
tags : ?
untagOthers
add : ?
addExistingElement : ?
addNewElement : ?
changeExistingElement : ?
edit : ?
activate : ?
add : ?
browse : ?
config : ?
deactive : ?
delete : ?
install : ?
uninstall : ?
upgrade : ?
index : ?
browse : ?
editSecurity : ?
editSettings : ?
editSearch : ?
editItemTypeElements : ?
checkImageMagick : ?
getFileExtensionWhitelist : ?
getFileMimeTypeWhitelistAction : ?
getHtmlPurifierAllowedHtmlElements : ?
getHtmlPurifierAllowedHtmlAttributes : ?
autocomplete : ?
config : ?
editNavigation : ?
editSettings : ?
elementForm : ?
error : ?
forbidden : ?
methodNotAllowed : ?
migrate : ?
notFound : ?
rename : ?
switch : ?
add : Add an item
addSection : ?
browse : ?
delete : Delete an item
delete-confirm : ?
deleteSection : ?
deleteSelf : ?
edit : Edit an item
editSection : ?
editSelf : Editing a resource owned by the current user.
editorSelf : ?
importSelf : ?
index : ?
putSelf : ?
show : See a resource. For items this means the non-thumbnail view.
showNotPublic : See a resource which isn't public
showSelfNotPublic : Showing a resource owned by the current user which isn't public
tag : Tag items
John Flatness of the Omeka Dev Team suggests making a plugin to hide a particular item type or collection from browse. Exhibit not displaying non-public items
- "Updating Plugins for 2.0 - Codex - Omeka." § Function Replacements Accessed July 30, 2013. http://omeka.org/codex/Updating_Plugins_For_2.0#Function_Replacements