Skip to content

Access Control #427

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Access Control #427

wants to merge 2 commits into from

Conversation

mhasself
Copy link
Member

Description

Includes:

  • Access Director Agent, for distributing access information to Agents on the OCS, and for granting exclusive access grants.
  • Under-the-hood support for credential checking, in ocs_agent.py and OCSClient.
  • Tests.
  • Documentation.

This does not include an OAuth -> OCS privileges system, but it is heading in that direction.

Motivation and Context

Resolves #124

How Has This Been Tested?

This PR includes integration tests; I also tested extensively with a dummy ocs including FakeDataAgent, HostManager, Agg. Used OCSClient to command, but also ocs-web (which was coded for this a long time ago). The unit tests in this PR include "what if an OCSClient that from earlier ocs is used?"

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

- Access Director Agent, for distributing access information to Agents
  on the OCS, and for granting exclusive access grants.
- Under-the-hood support for credential checking, in ocs_agent.py and
  OCSClient.
- Tests.
- Documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Agent access control mechanism
1 participant