Skip to main content
added 4 characters in body
Source Link
Brad Bell
  • 67.6k
  • 6
  • 75
  • 145

How do iI check permission for editing entries belonging to a specific section?

When iI try {{currentUser.can('editEntries:'~entry.sectionId) }}, it returns false - and iI am sure that currentUsercurrentUser can edit entries from this section.

edit: Its craft 3.1

How do i check permission for editing entries belonging to specific section?

When i try {{currentUser.can('editEntries:'~entry.sectionId) }}, it returns false - and i am sure that currentUser can edit entries from this section.

edit: Its craft 3.1

How do I check permission for editing entries belonging to a specific section?

When I try {{currentUser.can('editEntries:'~entry.sectionId) }}, it returns false - and I am sure that currentUser can edit entries from this section.

edit: Its craft 3.1

added 24 characters in body
Source Link

How do i check permission for editing entries belonging to specific section?

When i try {{currentUser.can('editEntries:'~entry.sectionId) }}, it returns false - and i am sure that currentUser can edit entries from this section.

edit: Its craft 3.1

How do i check permission for editing entries belonging to specific section?

When i try {{currentUser.can('editEntries:'~entry.sectionId) }}, it returns false - and i am sure that currentUser can edit entries from this section.

How do i check permission for editing entries belonging to specific section?

When i try {{currentUser.can('editEntries:'~entry.sectionId) }}, it returns false - and i am sure that currentUser can edit entries from this section.

edit: Its craft 3.1

Source Link

Checking permission for editing entries from inside template

How do i check permission for editing entries belonging to specific section?

When i try {{currentUser.can('editEntries:'~entry.sectionId) }}, it returns false - and i am sure that currentUser can edit entries from this section.