You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2015/03/30 19:37:47 UTC

svn commit: r1670153 - /steve/trunk/pysteve/www/cgi-bin/rest_admin.py

Author: humbedooh
Date: Mon Mar 30 17:37:46 2015
New Revision: 1670153

URL: http://svn.apache.org/r1670153
Log:
lower karma for election creation. 4 should be enough. 5 is superuser

Modified:
    steve/trunk/pysteve/www/cgi-bin/rest_admin.py

Modified: steve/trunk/pysteve/www/cgi-bin/rest_admin.py
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/cgi-bin/rest_admin.py?rev=1670153&r1=1670152&r2=1670153&view=diff
==============================================================================
--- steve/trunk/pysteve/www/cgi-bin/rest_admin.py (original)
+++ steve/trunk/pysteve/www/cgi-bin/rest_admin.py Mon Mar 30 17:37:46 2015
@@ -84,7 +84,7 @@ else:
                 response.respond(200, { 'elections': output})
         # Set up new election?
         elif action == "setup":
-            if karma >= 5: # karma of 5 required to set up an election base
+            if karma >= 4: # karma of 4 required to set up an election base
                 if electionID:
                     if election.exists(electionID):
                         response.respond(403, {'message': "Election already exists!"})