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.save()
|
||||
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,
|
||||
section='featured')
|
||||
if created:
|
||||
|
|
Loading…
Reference in a new issue