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

[v0.5] s4: Fixes 227 #404

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

pmatseykanets
Copy link
Contributor

@pmatseykanets pmatseykanets commented Jun 17, 2024

Issue:

Port of #390

  • Validate user retention userattribute fields and settings
  • [v0.4.s4] Don't allow empty lastLogin user attribute

Problem

Solution

CheckList

  • Test
  • Docs

@pmatseykanets pmatseykanets self-assigned this Jun 17, 2024
@pmatseykanets pmatseykanets requested a review from a team as a code owner June 17, 2024 14:25
Copy link
Contributor

@ericpromislow ericpromislow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR fails because the drone config uses rancher/rancher:v2.9-head and that image quietly changed its base image from registry.suse.com/bci-base to bci-micro, and the latter doesn't include zypper .

I fixed this on other PRs that still use drone by moving it back to v2.9.0-alpha1

@pmatseykanets
Copy link
Contributor Author

@ericpromislow Thanks for the insights! It seems like the required change is not related to this port in any way and should be applied is a separate PR. Then this one can be rebased.

@pmatseykanets pmatseykanets dismissed ericpromislow’s stale review June 17, 2024 19:41

The requested change has nothing to do with this port PR

@pmatseykanets
Copy link
Contributor Author

pmatseykanets commented Jun 17, 2024

Depends and needs to be rebased on #406

When a Setting is created, the following checks take place:

- If set, `disable-inactive-user-after` must be zero or a positive duration (e.g. `240h`).
- If set, `delete-inactive-user-after` must be zero or a positive duration (e.g. `240h`).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The MinDeleteInactiveUserAfter check does not seem to be documented. Is that intentional ?

@pmatseykanets pmatseykanets merged commit b3bccd2 into rancher:release/v0.5 Jun 18, 2024
1 check passed
@pmatseykanets pmatseykanets deleted the v0.5-port-227 branch June 18, 2024 11:26
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.

5 participants