Girocco::Project: defer deletion of tags until after auth
commite8f7bc11850713754601f502f00551aa2ebbddd3
authorJan Krüger <jk@jk.gs>
Wed, 30 Nov 2011 07:53:06 +0000 (30 08:53 +0100)
committerJan Krüger <jk@jk.gs>
Wed, 30 Nov 2011 07:53:06 +0000 (30 08:53 +0100)
treeaf7f49d1cb21f0991b04e832a6dabce9548d53b2
parent4d52d7524021378a63a46331926e42d1bca54cce
Girocco::Project: defer deletion of tags until after auth

If ctags are deleted during cgi_fill(), that makes it possible for
someone to remove them without authenticating. Therefore, only keep
track of the list of tags to be removed, and do the actual deletion in
update() which is called after authenticate().

Signed-off-by: Jan Krüger <jk@jk.gs>
Girocco/Project.pm