Suppose there is an authorization service where the application is knocked at startup, what to get the user and his rights.
So, I want to create another 1 service in which the logic of access to pages is centralized and initialized by the user, which is the result of the work of the authorization service.
How can i do this?
The simplest thing is to introduce an authorization service into the rights control service. But something seems to me that it is not entirely correct to do so ...
Can I do something else?