Which tab is shown initially. Two-way bindable via ActiveTabChange.
Two-way binding partner for ActiveTab.
Fired when the user clicks the close button. Parent should close the host dialog/panel.
Fired whenever an error is shown to the user. Useful for parent telemetry.
Fired after a permission has been successfully revoked.
If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.
Fired when a row in the "Shared with me" tab is clicked.
Title text displayed in the confirm-revoke dialog.
Maps a permission domain name (e.g. "Dashboard Permissions") to the entity
name used to load and delete the underlying record on Revoke. Replace to add
support for custom domains. Defaults to DefaultSharingEntityResolver.
When true, the close button is rendered in the tab strip. Hide it when the embedding container provides its own close affordance.
StaticɵdirStaticɵfacReturns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunReport provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Apply the expand/collapse state emitted by the accordion panel for a domain group. OnPush, so an explicit detectChanges() is required to reflect the change.
Force-refresh the currently active tab.
Switch to a tab and load its data if not already loaded.
Generic, framework-agnostic Sharing Center. Renders two tabs:
Shared with me — every resource the current user has direct (non-role) access to, grouped by permission domain. Each row is clickable and emits
ResourceClickedso the embedding app can route to the resource. The Generic component never imports Angular Router / NavigationService — the parent decides how to navigate.Shared by me — every permission record where the current user is the grantor. Each row has a Revoke button that deletes the underlying permission record through
Metadata.GetEntityObject().Delete()(so audit captures the revoke and BaseEntity event-driven cache invalidation runs).Inputs / Outputs are designed so the component drops cleanly into a dialog, a side panel, an embedded widget, or a full-page route.
Example