Skip to content

Repeater templates shows up in page settings for superusers #388

@abdusco

Description

@abdusco

Short description of the issue

When changing template for a page in the page editor ProcessPageEdit, repeater templates show up in the template list.

Here's the relevant forum discussion
Also: #287

Expected behavior

They shouldn't be on the list.

Actual behavior

They are on the list when user is superuser

Optional: Screenshots/Links that demonstrate the issue

Your screenshots/links go here.
image

Optional: Suggestion for a possible fix

Superuser or not repeater templates shouldn't be used anything other than repeater items. Since repeater items are assigned their template using API, and these templates are used for nothing else, they shouldnt show up at all.

Here's a possible fix:
https://processwire.com/talk/topic/17304-solved-repeater-fields-appears-in-template-settings-of-any-page/?do=findComment&comment=151971

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions