Hello :wave: Is there a way to modify permissions...
# gooddata-platform
b
Hello 👋 Is there a way to modify permissions of an existing roles in workspace?
m
Hi Bilal, May we know what permissions are you speaking about? Could you please give an example? Thanks!
b
Sure, I would like to set permission canCreateScheduledMail to 0 This is the result of role details endpoint:
Copy code
{
  "projectRole": {
    "links": {
      "roleUsers": "/gdc/projects/....worskapce..id../roles/3/users"
    },
    "permissions": {
      "canSetUserVariables": "0",
      "canCreateVisualizationClass": "0",
      "canCreateReportDefinition": "1",
      "canCreateReport": "0",
      "canCreateVisualization": "0",
      "canCreateMetric": "0",
      "canCreateTable": "0",
      "canManageAttributeGroup": "0",
      "canManageDataSet": "0",
      "canSeeOtherUserDetails": "0",
      "canListInvitationsInProject": "0",
      "canSeePublicAccessCode": "0",
      "canRefreshData": "0",
      "canCreateAttributeLabel": "0",
      "canCreateETLFile": "0",
      "canManageReport": "0",
      "canCreateAnalyticalDashboard": "0",
      "canSetProjectVariables": "0",
      "canExportFromADS": "0",
      "canManageETLFile": "0",
      "canManageScheduledMail": "0",
      "canCreateScheduledMail": "1",
      "canManageTableDataLoad": "0",
      "canSetLocale": "0",
      "canEnrichData": "0",
      "canCreateFolder": "0",
      "canManageACL": "0",
      "canAccessIntegration": "0",
      "canUploadNonProductionCSV": "0",
      "canListUsersInProject": "0",
      "canManageFilterSettings": "0",
      "canManageCustomDataset": "0",
      "canManageProjectDashboard": "0",
      "canManageHelp": "0",
      "canManageVisualization": "0",
      "canManageProject": "0",
      "canManageIntegration": "0",
      "canManageAnalyticalDashboard": "0",
      "canMaintainUserFilterRelation": "0",
      "canCreateAttributeGroup": "0",
      "canManageReportDefinition": "0",
      "canManagePublicAccessCode": "0",
      "canMaintainUserFilter": "0",
      "canCreateProjectTemplates": "0",
      "canExportReport": "1",
      "canCreateHelp": "0",
      "canSetStyle": "0",
      "canInviteUserToProject": "0",
      "canManageComment": "0",
      "canManageTranslations": "0",
      "canCreateRole": "0",
      "canValidateProject": "0",
      "canManageTable": "0",
      "canMaintainProject": "0",
      "canCreateAttribute": "0",
      "canCreateTableDataLoad": "0",
      "canManageFact": "0",
      "canManageIsProduction": "0",
      "canInitData": "0",
      "canManageAttribute": "0",
      "canSuspendUserFromProject": "0",
      "canManageFolder": "0",
      "canCreateProjectDashboard": "0",
      "canCreatePrompt": "0",
      "canManagePrompt": "0",
      "canAssignUserWithRole": "0",
      "canCreateDataSet": "0",
      "canExportDashboard": "1",
      "canCreateColumn": "0",
      "canCreateExecutionContext": "1",
      "canExecute": "1",
      "canExecuteRaw": "1",
      "canManageDomain": "0",
      "canAccessWorkbench": "0",
      "canManageMetric": "0",
      "canCreateComment": "0",
      "canCreateFilterSettings": "1",
      "canManageColumn": "0",
      "canCreateFact": "0",
      "canManageExecutionContext": "1",
      "canCreateDomain": "0",
      "canManageAttributeLabel": "0"
    },
    "meta": {
      "author": "/gdc/account/profile/id...",
      "identifier": "dashboardOnlyRole",
      "title": "Viewer (embedded only)",
      "contributor": "/gdc/account/profile/id...",
      "summary": "dashboard only"
    }
  }
}
m
This has been answered internally
1