Skip to content

Commit 948217f

Browse files
author
Pearl Dsilva
committed
Modified project details - role based users in projects
1 parent 98d732c commit 948217f

File tree

1 file changed

+46
-47
lines changed

1 file changed

+46
-47
lines changed

source/adminguide/projects.rst

Lines changed: 46 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,33 @@ You can configure CloudStack to allow any user to create a new project,
3232
or you can restrict that ability to just CloudStack administrators. Once
3333
you have created a project, you become that project’s administrator, and
3434
you can add others within your domain to the project. CloudStack can be
35-
set up either so that you can add people directly to a project, or so
36-
that you have to send an invitation which the recipient must accept.
37-
Project members can view and manage all virtual resources created by
38-
anyone in the project (for example, share VMs). A user can be a member
39-
of any number of projects and can switch views in the CloudStack UI to
40-
show only project-related information, such as project VMs, fellow
41-
project members, project-related alerts, and so on.
42-
43-
The project administrator can pass on the role to another project
44-
member. The project administrator can also add more members, remove
45-
members from the project, set new resource limits (as long as they are
35+
set up to either add people directly to a project, or to send an
36+
invitation which the recipient must accept. Project members can view
37+
and manage all virtual resources created by anyone in the project
38+
(for example, share VMs). A user can be a member of any number of projects
39+
and can switch views in the CloudStack UI to show only project-related information,
40+
such as project VMs, fellow project members, project-related alerts, and so on.
41+
42+
From CloudStack 4.15 onwards, it is possible for a project to have
43+
multiple project administrators and to add/invite specific users of
44+
an account to a project in addition to adding accounts. By means of
45+
Project Roles associated with a user or an account of the project,
46+
it is possible to restrict access of users in a project, i.e., in
47+
addition to account-level roles, one can further restrict access to
48+
operations (or APIs) by associating a project-level role to the
49+
user or account.
50+
51+
**NOTE:** Project Roles work over Account level Roles. If a user/account is
52+
added to a project without a project role, it would imply that the
53+
user / account added will have access to all APIs that are made available
54+
by the Account level role. If there are no specific deny rules in the
55+
project role, it would again fallback onto the account-level role to decide
56+
whether the user has permissions to perform a specific action.
57+
58+
59+
The project administrator can promote or demote a user in the project.
60+
The project administrator can also add more members, remove members
61+
from the project, set new resource limits (as long as they are
4662
below the global defaults set by the CloudStack administrator), and
4763
delete the project. When the administrator removes a member from the
4864
project, resources created by that user, such as VM instances, remain
@@ -63,7 +79,7 @@ is available to any project in the domain. A project can get access to a
6379
private template if the template’s owner will grant permission. A
6480
project can use any service offering or disk offering available in its
6581
domain; however, you can not create private service and disk offerings
66-
at the project level..
82+
at the project level.
6783

6884

6985
Configuring Projects
@@ -186,7 +202,7 @@ Setting the Global Project Resource Limits
186202
parameter. |Edits parameters|
187203

188204
.. cssclass:: table-striped table-bordered table-hover
189-
205+
190206
+--------------------------+------------------------------------------------------------------------------------------------------------------------------+
191207
| max.project.public.ips | Maximum number of public IP addresses that can be owned by any project in the cloud. See About Public IP Addresses. |
192208
+--------------------------+------------------------------------------------------------------------------------------------------------------------------+
@@ -280,36 +296,21 @@ feature is enabled in the cloud as described in `“Setting
280296
Up Invitations” <#setting-up-invitations>`_. If the invitations feature is
281297
not turned on, use the procedure in Adding Project Members From the UI.
282298

283-
#. Log in to the CloudStack UI.
299+
#. Log in to the CloudStack Primate UI.
284300

285301
#. In the left navigation, click Projects.
286302

287-
#. In Select View, choose Projects.
288-
289303
#. Click the name of the project you want to work with.
290304

291-
#. Click the Invitations tab.
305+
#. Click on the `Add Account to Project` button. This will have 2 tabs, one to add account to the project and the other to add a user to the project. Here, we can specify the:
292306

293-
#. In Add by, select one of the following:
307+
- account or user and/or email id of the user to be invited,
308+
- (Optional) the Role i.e, Admin or Regular that the user is to be added as, defualts to Regular role,
309+
- (Optional) the Project role specifying the list of APIs the user is allowed/ denied access to
294310

295-
#. Account – The invitation will appear in the user’s Invitations tab
296-
in the Project View. See Using the Project View.
311+
You can invite only people who have an account in this cloud within the same domain as the project. However, you can send the invitation to any email address.
297312

298-
#. Email – The invitation will be sent to the user’s email address.
299-
Each emailed invitation includes a unique code called a token
300-
which the recipient will provide back to CloudStack when accepting
301-
the invitation. Email invitations will work only if the global
302-
parameters related to the SMTP server have been set. See
303-
`“Setting Up Invitations” <#setting-up-invitations>`_.
304-
305-
#. Type the user name or email address of the new member you want to
306-
add, and click Invite. Type the CloudStack user name if you chose
307-
Account in the previous step. If you chose Email, type the email
308-
address. You can invite only people who have an account in this cloud
309-
within the same domain as the project. However, you can send the
310-
invitation to any email address.
311-
312-
#. To view and manage the invitations you have sent, return to this tab.
313+
5. To view and manage the invitations you have sent, return to this tab.
313314
When an invitation is accepted, the new member will appear in the
314315
project’s Accounts tab.
315316

@@ -332,12 +333,13 @@ Invitations” <#sending-project-membership-invitations>`_.
332333

333334
#. Click the name of the project you want to work with.
334335

335-
#. Click the Accounts tab. The current members of the project are
336-
listed.
336+
#. Click on the `Add Account to Project` button. This will have 2 tabs, one to add account to the project and the other to add a user to the project. Here, we can specify the:
337337

338-
#. Type the account name of the new member you want to add, and click
339-
Add Account. You can add only people who have an account in this
340-
cloud and within the same domain as the project.
338+
- account or user and/or email id of the user to be invited,
339+
- (Optional) the Role i.e, Admin or Regular that the user is to be added as, defualts to Regular role,
340+
- (Optional) the Project role specifying the list of APIs the user is allowed/ denied access to
341+
342+
#. You can add only people who have an account in this cloud and within the same domain as the project.
341343

342344

343345
Accepting a Membership Invitation
@@ -346,11 +348,11 @@ Accepting a Membership Invitation
346348
If you have received an invitation to join a CloudStack project, and you
347349
want to accept the invitation, follow these steps:
348350

349-
#. Log in to the CloudStack UI.
351+
#. Log in to the CloudStack’s Primate UI.
350352

351353
#. In the left navigation, click Projects.
352354

353-
#. In Select View, choose Invitations.
355+
#. Click on the Project Invitations button
354356

355357
#. If you see the invitation listed onscreen, click the Accept button.
356358

@@ -410,12 +412,9 @@ and resources.
410412

411413
- Click the Accounts tab to view and manage project members. If you
412414
are the project administrator, you can add new members, remove
413-
members, or change the role of a member from user to admin. Only
414-
one member at a time can have the admin role, so if you set
415-
another user’s role to admin, your role will change to regular
416-
user.
415+
members, or change the role of a member from user to admin or vice versa.
417416

418-
- (If invitations are enabled) Click the Invitations tab to view and
417+
- (If invitations are enabled) Click the Invitations button to view and
419418
manage invitations that have been sent to new project members but
420419
not yet accepted. Pending invitations will remain in this list
421420
until the new member accepts, the invitation timeout is reached,

0 commit comments

Comments
 (0)