Components
We currently use the setFunctionsAndPermissions method to check if the view is available and to check other permissions.
In the end this function (and possibly the ScopedComponent in its entirety) will disappear. This means we need a different location to check the available actions.
From now on we’ll do this in the html by putting everything inside a
Examples:
<flx-authorized-component [authorizedObservable]="getDatasource()">
... content
</flx-authorized-component>
OR:
<flx-authorized-component [authorizedObservable]="personDetailPageResolver.getResolverService(entityId, entityRegistrationId)">
... content
</flx-authorized-component>