[EP-tech] containers

keerthana reddy mkeerthana054 at gmail.com
Sun Mar 24 09:50:13 GMT 2013


Sir,

I have imported the kultivate containers plugin from bazaar and its pretty
good. But "containers" and "browse containers" are visible only to editor
and admin. They are not accessible to the users. What can be done such that
"browse containers" option is available to the users and also they must be
able to add an item to container but not edit/create/remove containers. The
roles are defined in this way:

[$c->{roles}->{"edit-container"} = [qw{
        container/view
        container/edit
        container/create
        container/remove
        container/use
}];

$c->{roles}->{"use-container"} = [qw{
        container/use
        container/view
}];

push @{$c->{user_roles}->{user}}, "use-container";
push @{$c->{user_roles}->{editor}}, "edit-container";
push @{$c->{user_roles}->{admin}}, "edit-container";]

Any help will be appreciated.

Thank you

Regards
M. Keerthana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20130324/9411b058/attachment.html 


More information about the Eprints-tech mailing list