canEditFeaturedselfs

This commit is contained in:
j 2013-02-21 14:21:30 +00:00
parent 5a86cf24f5
commit 1b9a285402

View file

@ -90,7 +90,7 @@ class Text(models.Model):
pos.section = 'personal' pos.section = 'personal'
pos.save() pos.save()
elif value == 'featured': elif value == 'featured':
if user.get_profile().capability('canEditFeaturedselfs'): if user.get_profile().capability('canEditFeaturedTexts'):
pos, created = Position.objects.get_or_create(text=self, user=user, pos, created = Position.objects.get_or_create(text=self, user=user,
section='featured') section='featured')
if created: if created: