This patch makes a new Action available for any DSpace
object: bitstream, bundle, item, collection, community,
group.
The Action ADMIN allows any user to perform any other
action on the DSpace object and to set policies on the
object.
AuthorizeManager now checks permission to perform an
ADMIN action on DSpace object target when anyone tries
to set/create/remove a policy (this is more appropriate
than check for it with a "filter" on webUI).
A new implicit autorization mechanism is introduced by
the AuthorizeManager.isAdmin(Context,DSpaceObject)
method called by AuthorizeManager.authorize().
This mechanism throws the authorization check on the
"container" of the DSpace object.
The containers defined are:
- community: the parent community
- collection: the parent community
- item: the owner collection or the related collection
if the item is a "template"
- bundle: the item where the bundle resides
- bitstream: the bundle where the bitstream resides or,
if the bitstream is not inside any bundle, e.g. is a
logo, the related collection or community
- group: if the group is a workflow, submitter or admin
group the related collection (or community for the
admin group)
The implicit rule is performed on any "container"
object (e.g. bitstream - bundle - item - collection -
subcommunity - ........ - community - system) until a
permission is found or denied.
The COLLECTION_ADMIN action is now replaced by ADMIN
action on the collection.
For backwards compatibility, when new content
(subcommunity or collection) is created in a community,
by a user with only ADD permission, the
Community.createSubCommunity() and
Community.createCollection() methods automatically
create the admin group for this new content and insert
the current user in it.
WRITE permission on a community or collection now does
not allow the user to edit the related groups but only
to set the metadata. This is more refined than before,
because if needed, the system admin can authorize the
user to edit the group by creating a specific policy
(ADD/WRITE or ADMIN permission) - webUI authorize
system needs to be extended.
Nobody/Anonymous
None
None
Public
|
Date: 2006-04-26 09:29 Logged In: YES |
|
Date: 2006-04-19 18:16 Logged In: YES |
|
Date: 2005-12-15 09:37 Logged In: YES |
|
Date: 2005-12-14 21:22 Logged In: YES |
| Filename | Description | Download |
|---|---|---|
| patch_community_admin.txt | Patch for CVS Head at 2005-12-05 11:00 GMT | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 158719: patch_community_admin.txt | 2005-12-05 15:31 | bollini |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use