Skip to content

Commit

Permalink
[AAE-8076] Add groupsRestriction input to docs (#7645)
Browse files Browse the repository at this point in the history
* [AAE-8076] revert storybook changes

* Trigger travis
  • Loading branch information
tomgny committed Jun 10, 2022
1 parent a4202d8 commit 1b20e17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -27,6 +27,7 @@ Allows one or more users to be selected (with auto-suggestion) based on the inpu
| ---- | ---- | ------------- | ----------- |
| appName | `string` | | Name of the application. If specified, this shows the users who have access to the app. |
| excludedUsers | [`IdentityUserModel`](../../../lib/core/models/identity-user.model.ts)`[]` | \[] | Array of users to be excluded. Mandatory properties are: id, email, username |
| groupsRestriction | `string[]` | \[] | Array of groups to restrict user searches. Mandatory property is group name |
| mode | [`ComponentSelectionMode`](../../../lib/process-services-cloud/src/lib/types.ts) | "single" | User selection mode (single/multiple). |
| preSelectUsers | [`IdentityUserModel`](../../../lib/core/models/identity-user.model.ts)`[]` | \[] | Array of users to be pre-selected. All users in the array are pre-selected in multi selection mode, but only the first user is pre-selected in single selection mode. Mandatory properties are: id, email, username |
| readOnly | `boolean` | false | Show the info in readonly mode |
Expand Down
Expand Up @@ -104,7 +104,7 @@ export class PeopleCloudComponent implements OnInit, OnChanges, OnDestroy {
excludedUsers: IdentityUserModel[] = [];

/** Array of groups to restrict user searches.
* Mandatory property is group id
* Mandatory property is group name
*/
@Input()
groupsRestriction: string[] = [];
Expand Down

0 comments on commit 1b20e17

Please sign in to comment.