Hi devs, I'm in the process of finalizing the permissions in the StratosAdmin REST API. Below are the REST API methods and proposed permissions to be imposed in Stratos 4.1.0. Please let me know if there are any changes to be made.
REST API MethodSuper AdminTenant AdminTenant UserPermission SuperTenantServiceactivateTenant(String): Response✓xx /permission/protected/manage/modify/tenantsTRUEaddSubscriptionDomains(String, String, SubscriptionDomainRequest): Response✓✓✓ /permission/admin/manage/add/domainaddTenant(TenantInfoBean): Response✓xx /permission/protected/manage/modify/tenantsTRUEaddUser(UserInfoBean): Response✓✓x/permission/admin/manage/add/usersdeactivateTenant(String): Response✓xx/permission/protected/manage/modify/tenantsTRUEdeleteTenant(String): Response✓xx/permission/protected/manage/modify/tenantsTRUEdeleteUser(String): Response✓✓x/permission/admin/manage/add/usersdeployAutoscalingPolicyDefintion(AutoscalePolicy): Response✓✓x/permission/admin/manage/add/autoscalingPolicydeployCartridgeDefinition(CartridgeDefinitionBean): Response✓✓x/permission/admin/manage/add/cartridgeDefinitiondeployDeploymentPolicyDefinition(DeploymentPolicy): Response✓✓x/permission/admin/manage/add/deploymentPolicydeployPartition(Partition): Response✓✓x/permission/admin/manage/add/partitiondeployService(ServiceDefinitionBean): Response✓✓x/permission/admin/manage/add/sevicegetActiveInstances(String, String): Response✓✓✓/permission/admin/manage/view/instancegetActiveService(): List✓✓✓/permission/admin/manage/view/sevicegetAutoscalePolicies(): Response✓ ✓✓/permission/admin/manage/view/autoscalingPolicygetAutoscalePolicies(String): Response✓✓✓/permission/admin/manage/view/autoscalingPolicygetAvailableCartridges(): Response✓✓✓/permission/admin/manage/view/cartridgegetAvailableLbCartridges(): Response✓✓✓/permission/admin/manage/view/cartridgegetAvailableMultiTenantCartridges(): Response✓✓✓/permission/admin/manage/view/cartridgegetAvailableSingleTenantCartridgeInfo(String): Response✓✓✓/permission/admin/manage/view/cartridgegetAvailableSingleTenantCartridges(): Response✓✓✓/permission/admin/manage/view/cartridgegetCartridgeInfo(String): Response✓✓✓/permission/admin/manage/view/cartridgegetCluster(String): Response✓✓✓/permission/admin/manage/view/clustergetCluster(String, String): Response✓✓✓/permission/admin/manage/view/clustergetClusters(String): Response✓✓✓/permission/admin/manage/view/clustergetClustersForTenant(): Response✓✓✓/permission/admin/manage/view/clustergetCookie(): Response✓✓✓ /permission/admin/restlogingetDeploymentPolicies(): Response✓✓✓ /permission/admin/manage/view/deploymentPolicygetDeploymentPolicies(String): Response✓✓✓/permission/admin/manage/view/deploymentPolicygetLoadBalancerCluster(String, String): Response✓✓✓/permission/admin/manage/view/clustergetPartition(String): Response✓✓x/permission/admin/manage/view/partitiongetPartitionGroups(String): Response✓✓x/permission/admin/manage/view/partitiongetPartitions(): Response✓ ✓x/permission/admin/manage/view/partitiongetPartitions(String, String): Response✓✓x/permission/admin/manage/view/partitiongetPartitionsOfPolicy(String): Response✓✓x/permission/admin/manage/view/partitiongetRepoNotification(Payload): Response✓✓✓/permission/admin/manage/add/syncgetService(String): Response✓✓✓ /permission/admin/manage/view/sevicegetServiceClusters(String): Response✓✓✓ /permission/admin/manage/view/clustergetServices(): ServiceDefinitionBean[]✓ ✓✓/permission/admin/manage/view/sevicegetSubscribedCartridges(): Response✓✓✓ /permission/admin/manage/view/cartridgegetSubscribedCartridgesForServiceGroup(String): Response✓✓✓/permission/admin/manage/view/cartridgegetSubscriptionDomain(String, String, String): Response✓✓✓/permission/admin/manage/view/domaingetSubscriptionDomains(String, String): Response✓✓✓/permission/admin/manage/view/domaingetTenant(String): TenantInfoBean✓xx/permission/protected/manage/monitor/tenantsTRUEgetValidDeploymentPolicies(String): Response✓✓✓/permission/admin/manage/view/deploymentPolicyinitialize(): StratosAdminResponse✓isDomainAvailable(String): Response✓xx /permission/protected/manage/modify/tenantsTRUEremoveSubscriptionDomain(String, String, String): Response✓✓✓/permission/admin/manage/add/domainretrievePartialSearchTenants(String): TenantInfoBean[]✓xx/permission/protected/manage/monitor/tenantsTRUEretrieveTenants(): TenantInfoBean[]✓xx/permission/protected/manage/monitor/tenantsTRUEsubscribe(CartridgeInfoBean): Response✓✓✓/permission/admin/manage/add/subscriptionsynchronizeRepository(String): Response✓✓✓/permission/admin/manage/add/syncunDeployCartridgeDefinition(String): Response✓✓✓/permission/admin/manage/add/cartridgeDefinitionunDeployService(String): Response✓✓x/permission/admin/manage/add/seviceunsubscribe(String): Response✓ ✓✓/permission/admin/manage/add/subscriptionupdateTenant(TenantInfoBean): Response✓xx/permission/protected/manage/modify/tenantsTRUEupdateUser(UserInfoBean): Response✓✓x/permission/admin/manage/add/users Link to Spreadsheet : https://docs.google.com/spreadsheets/d/1aHLcLnb5Na3a21nTPOVy0-idktmjtt_110GInEvReC0/edit?usp=sharing Thanks, -- *Lasindu Charith* Software Engineer, WSO2 Inc. Mobile: +94714427192 Web: blog.lasindu.com