Changeset 1789 for pykota/trunk
- Timestamp:
- 10/07/04 16:35:40 (20 years ago)
- Location:
- pykota/trunk
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/dumpykota
r1785 r1789 24 24 # 25 25 # $Log$ 26 # Revision 1.11 2004/10/07 14:35:40 jalet 27 # Now edpykota refuses to launch if the user is not a PyKota administrator. 28 # dumpykota : now has the same error message than edpykota in this case. 29 # 26 30 # Revision 1.10 2004/10/06 10:05:47 jalet 27 31 # Minor changes to allow any PyKota administrator to launch enhanced versions … … 154 158 """Print Quota Data Dumper.""" 155 159 if not self.config.isAdmin : 156 raise PyKotaToolError, _("You're not allowed to dump PyKota's datas.")160 raise PyKotaToolError, _("You're not allowed to use this command.") 157 161 158 162 datatype = options["data"] -
pykota/trunk/bin/edpykota
r1755 r1789 24 24 # 25 25 # $Log$ 26 # Revision 1.78 2004/10/07 14:35:40 jalet 27 # Now edpykota refuses to launch if the user is not a PyKota administrator. 28 # dumpykota : now has the same error message than edpykota in this case. 29 # 26 30 # Revision 1.77 2004/09/28 17:45:31 jalet 27 31 # Added the --hardreset command line option to edpykota … … 458 462 def main(self, names, options) : 459 463 """Edit user or group quotas.""" 464 if not self.config.isAdmin : 465 raise PyKotaToolError, _("You're not allowed to use this command.") 460 466 461 467 suffix = (options["groups"] and "Group") or "User" -
pykota/trunk/NEWS
r1788 r1789 24 24 - 1.20alpha22 : 25 25 26 - edpykota now refuse to work if the user is not a PyKota admin. 27 26 28 - Fixes a recently introduced bug with users groups and PostgreSQL. 27 29