Needed to be able to give permissions from other places, like XACML...
In order to do so, we have to break out of the context of Drupal
permissions, and the use of user_access().
Instead, we have introduced the function fedora_repository_check_perm()
(in addition to deprecating the old fedora_repository_access(), to avoid
possible confusion with the hook_access() used by Drupal nodes). This
new function calls a hook of the same name (hook_fedora_repository_check_perm()),
to allow other modules to influence the outcome.
The default/core implementation should function as permissions previously
worked.
There are old configuration options that predate time (are older
then islandora has been in GIT) that just don't do anything anymore.
We used to hide them in advanced settings. Just killed them.
Called just before return of drupal_render()'d markup. Passed the
tabset and associative array of the parameters with which
hook_islandora_tabs() was called; that is:
array(
'content_models' => {an array of ContentModel objects},
'pid' => {the PID of the object being rendered},
'page' => {the page of the object to be displayed},
)
... Facilitates implementation of equivalent functionality, where
the object was instantiated with the PID, and then the page was
passed to the method declared in your ISLANDORACM stream.
Called just before return of drupal_render()'d markup. Passed the
tabset and associative array of the parameters with which
hook_islandora_tabs() was called; that is:
array(
'content_models' => {an array of ContentModel objects},
'pid' => {the PID of the object being rendered},
'page' => {the page of the object to be displayed},
)
... Facilitates implementation of equivalent functionality, where
the object was instantiated with the PID, and then the page was
passed to the method declared in your ISLANDORACM stream.