Skip to content

Supporting Orgs

Parth Shah edited this page Oct 17, 2016 · 1 revision

Supporting Organizations in Project service

Adding a project to an organization:

Add organization field (Big Integer) to projects table, as an optional (nullable) field. This field can only be set when creating a new project. This field cannot be changed through the API once the project has been created. This field should be returned with all project API calls.

Manager Access:

Assuming organization Id will be passed into JWT payload, if the user has a Customer Manager role, he/she should be able to see all projects that belong to that organization. This will require updates to permissions/project.view.js.

Note: If for some reason organization Id(s) cannot be included in JWT payload or if we decide not to include them; if the user has Customer Manager role, an additional external call should be made to retrieve org information.