[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] permission for "manage records"



CAUTION: This e-mail originated outside the University of Southampton.
Hi Tomasz,
Not sure if this is the sort of thing you're looking for?
It defines a new user type (research_office) who can look at things in review (the 'staff-view' and 'editor' roles), but removes certain abilities from those roles.

If you want to apply this to one individual user, you can add the specific '+eprint/buffer/view:editor' privileges to their profile.
The '+' allows them to do something; the '-' prevents them doing something.

$c->{user_roles}->{'research_office'} = [qw{
        general
        edit-own-record
        saved-searches
        set-password
        change-email
        staff-view
        editor
        +eprint/buffer/view:editor
        +eprint/buffer/move_inbox:editor
        -eprint/buffer/move_archive:editor
        -eprint/buffer/edit:editor
        -eprint/buffer/remove:editor
        -eprint/buffer/move_dark_archive:editor
        -eprint/buffer/remove_with_email:editor
}];

Cheers,
John

From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Tomasz Neugebauer via Eprints-tech
Sent: 13 December 2022 17:05
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] permission for "manage records"

CAUTION: This e-mail originated outside the University of Southampton.
Is there a specific permission I could add to a user account so that they can view records through the "Manage Records" interface?  Is there a way to give this permission without giving them full administrator access?

Tomasz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20221213/0af69c77/attachment-0001.html