@ieeesa-npm/groups 0.15.27 → 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,10 +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 the user holds the
280
- * VIEW_AND_MANAGE_GROUP_INTEREST permission for that group. When the feature
281
- * is disabled the action is hidden regardless of permission; when enabled it
282
- * is shown only to permitted users and kept leftmost by the trailing sort.
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.
283
289
  * @param {GroupNode} group
284
290
  * @return {Menu[]}
285
291
  * @memberof TreeViewComponent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/groups",
3
- "version": "0.15.27",
3
+ "version": "0.15.29",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0"