@ieeesa-npm/groups 0.15.30 → 0.15.31
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.
|
@@ -274,18 +274,10 @@ export declare class TreeViewComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
274
274
|
/**
|
|
275
275
|
* Returns the group action menu items the current user may see for the given
|
|
276
276
|
* group, filtered by per-group permissions and group type. The "Manage
|
|
277
|
-
* Interest Form" action (SP3M-380)
|
|
278
|
-
*
|
|
279
|
-
* (
|
|
280
|
-
*
|
|
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.
|
|
277
|
+
* Interest Form" action (SP3M-380) renders only when the interest-form feature
|
|
278
|
+
* is enabled and the group's per-group permission union holds
|
|
279
|
+
* VIEW_AND_MANAGE_GROUP_INTEREST (strict per-group, no global fallback); it is
|
|
280
|
+
* hidden on admin/system group types and kept leftmost by the trailing sort.
|
|
289
281
|
* @param {GroupNode} group
|
|
290
282
|
* @return {Menu[]}
|
|
291
283
|
* @memberof TreeViewComponent
|