Show
Ignore:
Timestamp:
02/17/06 23:51:17 (18 years ago)
Author:
jerome
Message:

pkusers now mostly works. Removing an user from a group with
LDAP is not yet done though. Also no test was done with
LDAP yet.
filldb now really creates users (it uses pkusers instead
of edpykota)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storage.py

    r2699 r2706  
    9696        if limitby in ["quota", "balance", \ 
    9797                       "noquota", "noprint", "nochange"] : 
    98             self.parent.writeUserLimitBy(self, limitby) 
    9998            self.LimitBy = limitby 
     99            self.isDirty = True 
    100100         
    101101    def setOverChargeFactor(self, factor) :     
    102102        """Sets the user's overcharging coefficient.""" 
    103         self.parent.writeUserOverCharge(self, factor) 
    104103        self.OverCharge = factor 
     104        self.isDirty = True 
    105105         
    106106    def delete(self) :     
     
    137137            limitby = "quota" 
    138138        if limitby in ["quota", "balance", "noquota"] : 
    139             self.parent.writeGroupLimitBy(self, limitby) 
    140139            self.LimitBy = limitby 
     140            self.isDirty = True 
     141         
     142    def addUserToGroup(self, user) : 
     143        """Adds an user to an users group.""" 
     144        self.parent.addUserToGroup(user, self) 
     145         
     146    def delUserFromGroup(self, user) : 
     147        """Removes an user from an users group.""" 
     148        self.parent.delUserFromGroup(user, self) 
    141149         
    142150    def delete(self) :