none
SPRights attribute in elements.xml Feature RRS feed

  • Question

  • Hello!
    I create menu item in Actions menu of SPList.

    <!-- Add Action to Actions-menu of List -->
    <CustomAction
        Id="ListInfo"
        RegistrationType="List"
        RegistrationId="100"
        ImageUrl="/_layouts/images/bizpicker.GIF"
        Location="Microsoft.SharePoint.StandardMenu"
        GroupId="ActionsMenu"
        Sequence="1000"
        Rights="EditListItems"
        Title="InfoList"
        Description="System Information of List" >
        <UrlAction Url="~site/_layouts/InfoList/ListInfo.aspx?ListId={ListId}"/>
    </CustomAction>
    When user (have Contributor permissions) open List, this menu item does not visible. If I change rights to ViewListItems , this menu item is visible.
    What I do wrong? Or do not  this rights of menu item work correctly?
    Thank you.
    Friday, January 29, 2010 9:48 AM