Documents and Media -> "Manage Document Types" is available to users without permissions.

Description

  1. log in as administrator

  2. Clean up permissions (Control Panel -> Server -> Server Administration -> Clean Up Permissions)

  3. Create a site S

  4. Create user U and make it a regular member of site S.

  5. Go to Control Panel -> Roles -> Site Member -> Define Permissions and add the following permissions:
    ||resource Set || Resource || Action ||
    | Documents and Media | | Access in Control Panel |
    | Documents and Media | Document Library | Add Document |
    | Documents and Media | Document Library | Add Folder |
    | Documents and Media | Document Library Folder | Add Document |
    | Documents and Media | Document Library Folder | Add Subfolder |
    | Documents and Media | Document Library Folder | Update |
    | Documents and Media | Documents and Media Document | Delete |
    | Documents and Media | Documents and Media Document | Update |
    Make sure Add Document Type and Add Repository permissions are not present.

  6. Log in as U and go to ControlPanel -> Site S -> Documents and Media

  7. The Add -> Repository button is available opening appropriate view

  8. The Manage -> Document Types button is available opening appropriate view

Environment

Tomcat 7.0.23 + MySQL 5. 6.1.x GIT ID: 5f24f645c63a4a81f90f52a33abe072efe6af723. Tomcat 7.0.23 + MySQL 5. 6.2.x GIT ID: b69c8f968c330df048daa2eca7db5ae16a7144ee.

Activity

Show:

Cynthia Wilburn March 12, 2012 at 2:01 PM

Reopening to add 6.1.1 CE GA2. Close as Fixed.

ginson.ren January 17, 2012 at 5:54 PM

PASSED Manual Testing following steps in description.

Reproduced on:
Tomcat 7.0.23 + MySQL 5. 6.1.x GIT ID: 5f24f645c63a4a81f90f52a33abe072efe6af723.
Tomcat 7.0.23 + MySQL 5. 6.2.x GIT ID: b69c8f968c330df048daa2eca7db5ae16a7144ee.
The Repository button is available opening appropriate view and Document Types button is available opening appropriate view.

Fixed on:
Tomcat 7.0.23 + MySQL 5. 6.1.x GIT ID: adba444213a4ec50e9887304e492936da4ba8d25.
Tomcat 7.0.23 + MySQL 5. 6.2.x GIT ID: 9d362d4d6f4cccaf4c1d5aed184d6509c4ee56e7.
The Repository button is not available and Document Types button is available but only for view.

Michael Saechang January 17, 2012 at 2:51 PM

Committed on:
6.1.x GIT ID: 9b1408e8c6ee827ab69c9b5295678202bada43b4.
6.2.x GIT ID: 62f0c97919ebc9e50844ba28c1a3eeda847d9869.

Sergio Gonzalez January 11, 2012 at 6:00 AM

Sorry, I could also reproduce the issue with ADD_REPOSITORY action.

Sergio Gonzalez January 11, 2012 at 5:54 AM

Regarding the "Add Repository" we are checking for the permission of Adding Folder. If a user has permission to Add a folder he can also add a Repository (mounting a folder).
I have been able to reproduce the issue with Manage Document Types. I'll commit a fix for it in this ticket.

Regarding Manage Metadata Sets I'll create a new ticket and link it to this one because that's related to a different component (Dynamic Data Mapping).

Fixed

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Git Pull Request

Components

Priority

Zendesk Support

Created January 2, 2012 at 5:53 AM
Updated June 24, 2023 at 3:36 PM
Resolved October 3, 2012 at 12:36 PM
Loading...