EPrints Technical Mailing List Archive

Message: #01796


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] containers


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