PRB: Rights by Project Are Not Always Inherited

Last reviewed: February 25, 1997
Article ID: Q154829
The information in this article applies to:
  • Microsoft Visual SourceSafe, 16-bit and 32-bit, for Windows, versions 4.0, 5.0

SYMPTOMS

If a project's rights are changed under the Rights by Project option, and the project is moved so it becomes a subproject of a higher level (parent) project, it will not inherit the parent project's rights.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Problem

  1. In the Visual SourceSafe Explorer, create three projects off the root project: ProjectA, ProjectB & ProjectC.

  2. In the Visual SourceSafe Administrator, enable Rights by Project. For the user Guest, set the rights as follows:

          - ProjectA  - Read
          - ProjectB  - All (leave default)
          - ProjectC  - Read
    

    Close the Project Rights Dialog.

  3. Reopen the Dialog and change the ProjectC rights to All.

  4. In the Explorer, as a user who has all rights, move ProjectB and ProjectC into ProjectA. Add a file to each project.

  5. In the Explorer, as the user Guest, attempt to check out the file from ProjectA, ProjectB and ProjectC. Note the following results:

          - ProjectA: The "Insufficient Rights" dialog appears. The Guest's
    
            rights were set to Read and never changed. The project was not
            moved.
    
          - ProjectB: The "Insufficient Rights" dialog appears. The project's
            rights were never changed, so it inherited the settings from the
            parent project.
    
          - ProjectC: The file can be checked out. Like ProjectB, this file was
            moved but did not inherit rights from the parent as might be
            expected. Changing its rights prior to the move caused it to retain
            those settings.
    


KBCategory: kbprg kbprb
KBSubcategory: ssafe vss
Additional reference words: 4.00 5.00




THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 25, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.