ambitus / pyracf

Python interface to the RACF Command interface.
https://ambitus.github.io/pyracf/
Apache License 2.0
10 stars 4 forks source link

Add optional Expired/Noexpired #55

Closed ElijahSwiftIBM closed 5 months ago

ElijahSwiftIBM commented 7 months ago

-Add optional parameter to set_password and set_passphrase that allows for user passwords and phrases to be set noexpired

:bulb: Issue Reference

Issue: #49

:computer: What does this address?

Admins setting user passwords or phrases may want to make them non-expired, which is not possible except with UserAdmin.alter() right now.

:pager: Implementation Details

Added an optional argument to set_password and set_passphrase that emulates RACF defaults anyway (setting a password without NOEXPIRED will make the password EXPIRED by default).

:clipboard: Is there a test case?

Made 2 new testcases to test setting noexpired with password and password phrase

Either include the path to the test case file, or details on a manual test