none
Project Server 2013 Apps (Add-Ins) RRS feed

  • Question

  • Project server 2013 App

    I want to create project server app for displaying project list on grid

    Field: Project Name, start Date, end date

    I have three users

    User 1: user one is PWA resource and assigned task on Project 1

    User 2: user two is PWA resource and assigned task on Project 1

    User 3: this user is normal SharePoint user (not project server resource)

    Question:

     Can I create SharePoint app which can show project to User 3?

    <AppPermissionRequests  AllowAppOnlyPolicy="true">

        <AppPermissionRequest Scope="http://sharepoint/projectserver/statusing" Right="SubmitStatus" />

        <AppPermissionRequest Scope="http://sharepoint/projectserver/projects" Right="Read" />

        <AppPermissionRequest Scope="http://sharepoint/projectserver" Right="Manage" />

        <AppPermissionRequest Scope="http://sharepoint/projectserver/enterpriseresources" Right="Read" />

        <AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl" />

        <AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="FullControl" />

        <AppPermissionRequest Scope="http://sharepoint/projectserver/reporting" Right="Read" />

        <AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web/list" Right="FullControl" />

        <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" />

      </AppPermissionRequests>

    Friday, November 27, 2015 6:46 PM

Answers

  • Hello,

    Providing user3 has access to PWA this would work but it will depend on what API you are using to get the list of Projects? If using JSOM or REST (_api/ProjectServer) user3 will need access to the projects as this API will security trim the data. If using OData (_api/ProjectData) user will need access to the OData Reporting API which is controlled via a permission "Access Project Server Reporting Service".

    Paul


    Paul Mather | Twitter | http://pwmather.wordpress.com | CPS | MVP | Downloads

    Friday, November 27, 2015 10:36 PM
    Moderator

All replies

  • Hello,

    Providing user3 has access to PWA this would work but it will depend on what API you are using to get the list of Projects? If using JSOM or REST (_api/ProjectServer) user3 will need access to the projects as this API will security trim the data. If using OData (_api/ProjectData) user will need access to the OData Reporting API which is controlled via a permission "Access Project Server Reporting Service".

    Paul


    Paul Mather | Twitter | http://pwmather.wordpress.com | CPS | MVP | Downloads

    Friday, November 27, 2015 10:36 PM
    Moderator
  • So it means   i will need to provide  permission on PWA site and add this user as  resource user .?

    i have tried to access the Project detail on app (addins) and it only works if current log in user is part of  pwa resource user .

    when i try to access the app using  PS.js it only works for user 1 and user 2 above .

    for user 3 it gives error .

    User 3: this user is normal SharePoint user (not project server resource)


    Monday, December 7, 2015 6:20 PM