Commit Graph

2 Commits

Author SHA1 Message Date
Richard Cox e3e72aef90 Fix edit of PSACT description
- Use `SteveDescriptionModel` as base of PodSecurityAdmissionTemplate model
- Provide a generic mechanism for model save to tweak the object that's saved
- In SteveDescriptionModel ensure the object that's saved has the correct description
  - Save worked for other users of class ... as they saved via norman rather than steve

Tweaks
- Removed duplicate PSACT definition
- Fixed width of PSACT table name / description columns
2023-03-08 13:29:57 +00:00
Giuseppe Leo 78d32471d1
When creating a PSACT value as YAML, you are not redirected back to the Pod Security Admissions tab (#8190)
* Add location redirection to the model configuration

* Add routing method to the CruResource editor containing Yaml editor as well
2023-02-20 10:36:41 +01:00