| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
updateTemplate permissions API
|
@dhlaluku a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2629 |
Sorry, something went wrong.
…0.0.0-scclouds' Reversão do atributo `accounttype` para o valor ordinal em respostas de APIs e adição de suporte ao uso de ordinais para o parâmetro `accounttype` Closes #3220 See merge request scclouds/scclouds!1339
| Back | FazBrowse Home | New Git URL |
Description
Introduces a new Global Setting allow.user.view.all.domain.accounts that allows admins to control whether users can see other accounts within the same domain through the ListAccounts API.
Also extends the ‘updateTemplatePermissions’ by integrating it with the UI in order to allow users to share templates with other accounts within the same domain, and also with projects that the sharing account has access to.
The updateTemplatePermissions API supports 3 operations i.e. add, remove or reset. The reset operation does not require any parameters and it simply removes all permissions for a template. The add and remove parameters require either accounts or projects to be specified for sharing or stop sharing templates.
Types of changes
Screenshots (if appropriate):
Reset Operation hides the Accounts and Project ID fields as this operation does not require any additional parameters to be set.
Operation = Reset; Account and Project fields not displayed

Operation = Add/Remove , global setting: 'allow.user.view.all.domain.accounts' = false;

Operation = Add , global setting: 'allow.user.view.all.domain.accounts' = true; Domain has 3 accounts in total (bt1, bt2 and bt3). Logged in user is bt1 and so it is not shown on the dropdown list.

Operation = Remove , global setting: 'allow.user.view.all.domain.accounts' = true; Domain has 3 accounts in total (bt1, bt2 and bt3). The current template was only shared with bt2 by bt1 so dropdown menu only shows accounts that the current template has been shared with.

How Has This Been Tested?