You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
User may access the xmlrpc interface (Xmlrpc Access)
711
+
User may manipulate user Roles through the web (Web Roles)
712
+
User may use the email interface (Email Access)
713
+
Role "anonymous":
714
+
User may access the web interface (Web Access)
715
+
User is allowed to register new user (Register for "user" only)
716
+
User is allowed to access issue (View for "issue" only)
717
+
User is allowed to access file (View for "file" only)
718
+
User is allowed to access msg (View for "msg" only)
719
+
User is allowed to access keyword (View for "keyword" only)
720
+
User is allowed to access priority (View for "priority" only)
721
+
User is allowed to access status (View for "status" only)
722
+
(Search for "user" only)
723
+
Role "user":
724
+
User may access the web interface (Web Access)
725
+
User may use the email interface (Email Access)
726
+
User may access the rest interface (Rest Access)
727
+
User may access the xmlrpc interface (Xmlrpc Access)
728
+
User is allowed to access issue (View for "issue" only)
729
+
User is allowed to edit issue (Edit for "issue" only)
730
+
User is allowed to create issue (Create for "issue" only)
731
+
User is allowed to access file (View for "file" only)
732
+
User is allowed to edit file (Edit for "file" only)
733
+
User is allowed to create file (Create for "file" only)
734
+
User is allowed to access msg (View for "msg" only)
735
+
User is allowed to edit msg (Edit for "msg" only)
736
+
User is allowed to create msg (Create for "msg" only)
737
+
User is allowed to access keyword (View for "keyword" only)
738
+
User is allowed to edit keyword (Edit for "keyword" only)
739
+
User is allowed to create keyword (Create for "keyword" only)
740
+
User is allowed to access priority (View for "priority" only)
741
+
User is allowed to access status (View for "status" only)
742
+
(View for "user": ('id', 'organisation', 'phone', 'realname', 'timezone', 'username') only)
743
+
User is allowed to view their own user details (View for "user" only)
744
+
User is allowed to edit their own user details (Edit for "user": ('username', 'password', 'address', 'realname', 'phone', 'organisation', 'alternate_addresses', 'queries', 'timezone') only)
745
+
User is allowed to view their own and public queries (View for "query" only)
746
+
(Search for "query" only)
747
+
User is allowed to edit their queries (Edit for "query" only)
748
+
User is allowed to retire their queries (Retire for "query" only)
749
+
User is allowed to restore their queries (Restore for "query" only)
750
+
User is allowed to create queries (Create for "query" only)
751
+
"""
752
+
print(out.getvalue())
753
+
754
+
self.assertEqual(result, out.getvalue())
755
+
self.assertEqual(ret, 0)
756
+
757
+
deftestSecurityInvalidAttribute(self):
758
+
''' Test with an invalid attribute.
759
+
Note the tests will fail if you run this under pdb.
760
+
the context managers capture the pdb prompts and this screws
761
+
up the stdout strings with (pdb) prefixed to the line.
0 commit comments