Permissions
- 21 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Permissions
- Updated on 21 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get-LiquitPermission
Synopsis
This command displays a list of all permissions available in the Liquit Workspace. Alternatively, you can use this command to select a certain permission.
Syntax
Get-LiquitPermission
[-LiquitContext <LiquitContext>]
[<CommonParameters>]
Get-LiquitPermission
[-ID] <string[]>
[-LiquitContext <LiquitContext>]
[<CommonParameters>]
Get-LiquitPermission
[-IdentityRef] <IdentityRef[]>
[-LiquitContext <LiquitContext>]
[<CommonParameters>]
Examples
Example 1: Get-LiquitPermission
Get-LiquitPermission
This command displays all permissions available in the Liquit Workspace.
Example 2: Get-LiquitPermission
$permission = Get-LiquitPermission -id 00000000-0000-0000-0000-000000000000
This command selects a particular permission.
New-LiquitPermission
Synopsis
This command creates a new permission in the Liquit Workspace.
Syntax
New-LiquitPermission
-Identity <Identity>
-AccessPolicy <AccessPolicy >
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Example
$accesPolicy = Get-LiquitAccessPolicy -ID 00000000-0000-0000-0000-000000000000
$identity = Get-LiquitIdentity -id "Source\00000000-0000-0000-0000-000000000000"
New-LiquitPermission -Identity $identity -AccessPolicy $accesPolicy
This command creates a new permission within Liquit Workspace.
Parameters
Name | Value | Description | Required | Default value |
---|---|---|---|---|
Identity | <Identity> | The identity you want to assign permissions within Liquit Workspace. | Yes | |
AccessPolicy | <AccessPolicy> | The access policy you want to apply to the identity. | Yes | |
LiquitContext | <LiquitContext> | Determines the selected zone. | No | Default |
Set-LiquitPermission
Synopsis
This command lets you edit the properties of a permission.
Syntax
Set-LiquitPermission
-Permission <Permission[]>
-AccessPolicy <AccessPolicy>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-LiquitPermission
-Identity <Identity[]>
-AccessPolicy <AccessPolicy>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Example
$permission = Get-LiquitPermission -id 00000000-0000-0000-0000-000000000000
$accesPolicy = Get-LiquitAccessPolicy -ID 00000000-0000-0000-0000-000000000000
Set-LiquitPermission -AccessPolicy $accesPolicy -Permission $permission
This command grants the specified permission to the specified access policy.
Parameters
Name | Value | Description | Required | Default value |
---|---|---|---|---|
Permission | <Permission[]> | The permission you want to edit. | Yes | |
Identity | <Identity> | The identity you want to assign permissions within Liquit Workspace. | Yes | |
AccessPolicy | <AccessPolicy> | The access policy you want to use for the identity. | Yes | |
LiquitContext | <LiquitContext> | Determines the selected zone. | No | Default |
Remove-LiquitPermission
Synopsis
This command removes an entitlement from a package.
Syntax
Remove-LiquitPermission
-Permission <Permission[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-LiquitPermission
-Identity <Identity[]>
[-LiquitContext <LiquitContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Example
$permission = Get-LiquitPermission -id 00000000-0000-0000-0000-000000000000
Remove-LiquitPermission -Permission $permission
This command removes the selected permission.
Parameters
Name | Value | Description | Required | Default value |
---|---|---|---|---|
Permission | <Permission[]> | The permission you want to remove. | Yes | |
Identity | <Identity> | The identity from which you want to remove permissions. | Yes | |
LiquitContext | <LiquitContext> | Determines the selected zone. | No | Default |
Was this article helpful?