Private Exhibits

Hello:

Is there any way to give a guest user view permission for exhibits that haven't been made public yet?

Thanks!

That would call for a very simple plugin to change the permissions. The following should do the trick. Create a folder called GuestExhibit in your plugins folder, and add this as a file called GuestExhibitPlugin.php:

<?php

class GuestExhibitPlugin extends Omeka_Plugin_AbstractPlugin
{

    protected $_hooks = array('define_acl');

    public function hookDefineAcl($args)
    {
        if (plugin_is_active('GuestUser') && plugin_is_active('ExhibitBuilder')) {
            $acl = $args['acl'];
            $acl->allow('guest', 'ExhibitBuilder_Exhibits', 'showNotPublic' );
        }
    }
}

Then activate the plugin.