Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login Service: Include role privileges #75

Open
dmarszk opened this issue Nov 9, 2017 · 0 comments
Open

Login Service: Include role privileges #75

dmarszk opened this issue Nov 9, 2017 · 0 comments
Labels
Postpone Postpone until next release

Comments

@dmarszk
Copy link

dmarszk commented Nov 9, 2017

In ground systems, certain role has always a list of privileges associated with it. Having this information provided by Login service would allow consumer to know ahead what operations can be executed, and what operations would return AUTHORISATION_FAIL.

Below I described a proposed extension of the service.

Extend Common::Login::LoginRole ObjectBodyType from

MAL::Identifier roleName

to

MAL::Identifier roleName
List<Privilege> privileges

Add new abstract type Common::Login::Privilege and define at least 1 standard privilege filter type
Common::Login::OperationPrivilege with body:

MAL::UShort area
MAL::UShort service
MAL::UOctet version
MAL::UShort operation

Each part of the OperationPrivilege filter should allow a wildcard value (i.e. UShort.MaxValue or UOctet.MaxValue)

Privilege could also be defined as a separate COM Object, referenced from Role by an Object Id. It would reduce communication overhead when more complex Privilege composites are used.

@SamCooper SamCooper added the Postpone Postpone until next release label Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Postpone Postpone until next release
Projects
None yet
Development

No branches or pull requests

2 participants