@ieeesa-npm/groups 0.15.28 → 0.15.29
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.
|
@@ -276,13 +276,16 @@ export declare class TreeViewComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
276
276
|
* group, filtered by per-group permissions and group type. The "Manage
|
|
277
277
|
* Interest Form" action (SP3M-380) is gated: it renders only when the
|
|
278
278
|
* interest-form feature is enabled for the tenant
|
|
279
|
-
* (GroupsService.isInterestFormFeatureEnabled()) AND either the user holds
|
|
280
|
-
* VIEW_AND_MANAGE_GROUP_INTEREST permission for that specific group
|
|
281
|
-
* per-group, no global fallback) OR the user is a
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
*
|
|
279
|
+
* (GroupsService.isInterestFormFeatureEnabled()) AND either (a) the user holds
|
|
280
|
+
* the VIEW_AND_MANAGE_GROUP_INTEREST permission for that specific group
|
|
281
|
+
* (strictly per-group, no global fallback — e.g. a Chair), OR (b) the user is a
|
|
282
|
+
* cross-group admin whose admin role holds BOTH MANAGE_ALL_GROUPS ("Manage All
|
|
283
|
+
* Group Details") AND the interest permission globally. The admin override
|
|
284
|
+
* requires the interest permission too: an admin whose role is not mapped with
|
|
285
|
+
* the interest permission does NOT see the action on every group. It is always
|
|
286
|
+
* hidden on admin/system group types (e.g. the System Users Group), which are
|
|
287
|
+
* not real committees with an interest form, and hidden entirely when the
|
|
288
|
+
* feature is disabled. When shown it is kept leftmost by the trailing sort.
|
|
286
289
|
* @param {GroupNode} group
|
|
287
290
|
* @return {Menu[]}
|
|
288
291
|
* @memberof TreeViewComponent
|