2 September, 2024
by Tony Rule- Fixes to prevent duplicate roles being created via the API
Please read this article to learn more about some upcoming permission changes in Runn and how they may affect your integration.
Across the next few months, we will be undertaking some improvements to user permissions in Runn. Learn more
API v1
GET /users
Here is an example of the permissions for an existing Editor that has access to manage specific projects
"permissions": { "type": "editor", "financial": "none", "editProjects": "specific", "manageProjects": "restricted", "editOthers": "none", "manageOthers": "none" }
Once the permissions rollout is complete you'll notice the "type" of some users will change to the new user types being introduced (ie. Manager & Contributor). For the user above you'll just notice the "type" changes to "manager".
"permissions": { "type": "manager", "financial": "none", "editProjects": "specific", "manageProjects": "restricted", "editOthers": "none", "manageOthers": "none" }
POST /invitations
We'll soon be releasing the v1 version of POST /invitations and this will use the new user types and permissions. Once released the API Reference will contain all the details of this new API v1 endpoint.
API v0
POST /api/v0/invitations
We recommend migrating to API v1 to take advantage of the new permission types as soon as you can. API v0 is being sunset on January 6, 2025.
GET /api/v0/users
Similar to API v1 the GET users endpoint will include
Support
If you have any questions. You can reach us at [email protected]
values/items/color will no longer be nullcolor will no longer be nullcolor is still optional, but will now default to a color instead of nullcolor will no longer be nullcolor will no longer be nullcreatedBy may be null nowsingleSelect propertyrestricted
values/items/editProjectsPermissionvalues/items/financialPermissionvalues/items/manageOthersPermissionvalues/items/manageProjectsPermissionrestricted
values/items/permissions/editProjectsvalues/items/permissions/financialvalues/items/permissions/manageOthersvalues/items/permissions/manageProjects{userId}
restricted
permissions/editProjectspermissions/financialpermissions/manageOtherspermissions/manageProjectsAPI v1 is now out of beta and is the recommended API to use for all new integrations. API v0 will be sunset on January 6, 2025. See our Migrating from API v0 guide .Thanks to everyone that has given us bug reports and suggestions for improvement. Please keep letting us know what you'd like us to work on next.