src/main/resources/aspects/FeaturedContent/featuredcontent.js
/**
 * Assert that the currently authenticated eperson is an administrator.
 * If they are not then an error page is returned and this function
 * will NEVER return.
 */
Assert that the currently authenticated eperson is an administrator.
If they are not then an error page is returned and this function
will NEVER return.
Assert that the currently authenticated eperson is an administrator . If they are not then an error page is returned and this function will NEVER return .
function assertAdministrator() {
    if ( ! isAdministrator()) {
        sendPage("admin/not-authorized");
        cocoon.exit();
    }
}
function assertAdministrator ( ) { if ( ! isAdministrator ( ) ) { sendPage ( "admin/not-authorized" ) ; cocoon . exit ( ) ; } }
Assert that the currently authenticated eperson is an administrator.
Assert that the currently authenticated eperson is an administrator .