Mercurial > p > roundup > code
diff doc/upgrading.txt @ 6393:51a1a9b0f567
- issue2551062: AddPermission doesn't validate property names.
roundup-admin security stops output when it finds an invalid
property. It used to try to print the rest of the security
properties. So errors were lost in the output.
If roundup-admin is run non-interactively it exits with status 1
so it can be used in a script to validate the properties schema.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 06 May 2021 18:56:47 -0400 |
| parents | b57c3d50505b |
| children | 559b3d8e03d7 |
line wrap: on
line diff
--- a/doc/upgrading.txt Wed Apr 28 16:43:15 2021 +0200 +++ b/doc/upgrading.txt Thu May 06 18:56:47 2021 -0400 @@ -22,7 +22,7 @@ .. contents:: :local: -.. index:: Upgrading; 1.6.x to 2.x.x +.. index:: Upgrading; 2.0.0 to 2.1.0 Migrating from 2.0.0 to 2.x.x ============================= @@ -63,6 +63,16 @@ prevented applying the change from the helper to the field on the main form. +Roundup-admin security stops on incorrect properties +---------------------------------------------------- + +The ``roundup-admin ... security`` command used to continue +running through the rest of the security roles after reporting a +property error. Now it stops after reporting the incorrect property. + +If run non-interactively, it exits with status 1. It can now be +used in a startup script to detect permission errors. + .. index:: Upgrading; 1.6.x to 2.0.0 Migrating from 1.6.X to 2.0.0
