#19 The CommunishiftAuthorization operator should watch for all Namespaces created.
Closed by lenkaseg. Opened by lenkaseg.

UserStory

As a developer, I want the CommunishiftAuthorization operator to watch for all “communishift-*” Namespaces being created.

Tasks

  • The operator should watch all Namespace resources, and determine if they are named like “communishift-*”.
  • If a Namespace matches “communishift-*”, the operator should connect to FasJSON and retrieve all IPA users in the IPA group of the same name.
  • It should update the Group "communishift-*-admins" with the list of IPA users retrieved.

Success Criteria

  • When a Namespace like “communishift-” is created the CommunishiftAuthorization operator should retrieve all IPA users in the IPA group of the same name via fasjson, then synchronise them in the “communishift--admins” Group.

Resources

  • https://fasjson.fedoraproject.org/docs/v1/
  • https://fasjson.readthedocs.io/en/latest/api_v1.html#get--groups-groupname-
  • https://fasjson.readthedocs.io/en/latest/api_v1.html#get--groups-groupname-members-

Issue status updated to: Closed (was: Open)

Namespace creation will be handler by infra&releng.
Not relevant anymore.

Metadata