@ieeesa-npm/groups 0.15.25 → 0.15.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/tree-view/tree-view.component.mjs +5 -2
- package/esm2022/lib/components/view-roster/view-roster.component.mjs +5 -4
- package/esm2022/lib/groups.component.mjs +13 -3
- package/esm2022/lib/models/permission-type.model.mjs +2 -1
- package/esm2022/lib/services/group-permissions-map-service.mjs +6 -1
- package/esm2022/lib/services/groups.service.mjs +10 -1
- package/fesm2022/ieeesa-npm-groups.mjs +35 -6
- package/fesm2022/ieeesa-npm-groups.mjs.map +1 -1
- package/lib/groups.component.d.ts +8 -0
- package/lib/models/permission-type.model.d.ts +2 -1
- package/lib/services/groups.service.d.ts +7 -6
- package/package.json +1 -1
|
@@ -100,6 +100,14 @@ export declare class GroupsComponent implements OnInit, OnDestroy {
|
|
|
100
100
|
* @memberof GroupsComponent
|
|
101
101
|
*/
|
|
102
102
|
validateAccess(permissionType: PermissionType): boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Passthrough to the service restriction check so the template can gate
|
|
105
|
+
* group/roster write actions on the negative Restrict Groups And Rosters
|
|
106
|
+
* permission.
|
|
107
|
+
* @return {boolean}
|
|
108
|
+
* @memberof GroupsComponent
|
|
109
|
+
*/
|
|
110
|
+
isGroupsAndRostersRestricted(): boolean;
|
|
103
111
|
/**
|
|
104
112
|
* Sets the dialog options for create group modal and calls openModal method.
|
|
105
113
|
* @param {GroupInfo} [parentGroupInfo] -An optional parameter. Parent group info to be passed for create child group.
|
|
@@ -13,5 +13,6 @@ export declare enum PermissionType {
|
|
|
13
13
|
MANAGE_ALL_GROUPS = "MANAGE_ALL_GROUPS",
|
|
14
14
|
VIEW_ALL_ROSTERS = "VIEW_ALL_ROSTERS",
|
|
15
15
|
MANAGE_ALL_ROSTERS = "MANAGE_ALL_ROSTERS",
|
|
16
|
-
MANAGE_CUSTOM_INTEREST_QUESTIONS = "MANAGE_CUSTOM_INTEREST_QUESTIONS"
|
|
16
|
+
MANAGE_CUSTOM_INTEREST_QUESTIONS = "MANAGE_CUSTOM_INTEREST_QUESTIONS",
|
|
17
|
+
RESTRICT_GROUPS_AND_ROSTERS = "RESTRICT_GROUPS_AND_ROSTERS"
|
|
17
18
|
}
|
|
@@ -76,12 +76,6 @@ export declare class GroupsService {
|
|
|
76
76
|
"1034": string;
|
|
77
77
|
"1035": string;
|
|
78
78
|
"1036": string;
|
|
79
|
-
/**
|
|
80
|
-
* Returns formatted group types.
|
|
81
|
-
* @param {GroupTypeConfiguration[]} groupTypeResponse
|
|
82
|
-
* @return {GroupTypeConfigValue}
|
|
83
|
-
* @memberof GroupsService
|
|
84
|
-
*/
|
|
85
79
|
"1037": string;
|
|
86
80
|
"1038": string;
|
|
87
81
|
"1039": string;
|
|
@@ -301,6 +295,13 @@ export declare class GroupsService {
|
|
|
301
295
|
* @memberof GroupsService
|
|
302
296
|
*/
|
|
303
297
|
isAdminUser(): boolean;
|
|
298
|
+
/**
|
|
299
|
+
* Returns true when the user holds the negative permission that restricts all
|
|
300
|
+
* group and roster write actions, regardless of any other granted permission.
|
|
301
|
+
* @return {boolean}
|
|
302
|
+
* @memberof GroupsService
|
|
303
|
+
*/
|
|
304
|
+
isGroupsAndRostersRestricted(): boolean;
|
|
304
305
|
/**
|
|
305
306
|
* Concatenates the group users assigned roles name separated by comma as string and returns the group users in an array.
|
|
306
307
|
* @param {GetGroupUsersResponse} response
|