Ronald J Yacketta wrote: > >>> OK :) >>> >>> Updated remote.py and now receive the following exception >>> Fault: <Fault 1: "<class 'cobbler.cexceptions.CX'>:'user does not have >>> access to resource: is_kickstart_in_use'"> >>> >>> Should cobbler handle this exception similar to other objects that a >>> user does not have rights to modify? >>> >> Probably the code shouldn't require user rights on this at all as it's >> basically a safe operation. >> >> File a bug in Trac please? Might be able to knock this out tomorrow >> AM before we do 1.2.6, if not, we'll fix it for the next one. >> >> Meanwhile you can still edit the templates on the filesystem as a >> workaround. >> >> (Trac is http://fedorahosted.org/cobbler) >> >> Thanks! >> >> --Michael >> >> > > Michael, > > Not sure this is 'safe', if a user has no rights to modify other objects > why should they be allowed to modify kickstart's via the web? > > I will file a Trac when I arrive in the office in the morning. > > Again, Thanks for all of your help!!! > > -Ron >
That routine checks for access, it is not the function that does the modification. Including your users.conf, /etc/cobbler/settings, and /etc/cobbler/modules.conf in Trac and the username you were doing the testing with would be useful. --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
