forked from 0x2620/pandora
canEditFeaturedselfs
This commit is contained in:
parent
5a86cf24f5
commit
1b9a285402
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue