Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH Disable option to create top-level pages based on permissions #2604

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Oct 22, 2020

Issue #2396

Blocked by silverstripe/silverstripe-framework#9741

Failed behat test requires the above PR to be merged so that the radio button can be disabled

When a user lacks the permission to create top-level pages, the following will now happen:
a) Disables the "Top-level" radio input
b) Auto-selects the "Under another page" radio input

image

@emteknetnz emteknetnz force-pushed the pulls/4.6/top-level-create-permission branch from 798c9ce to eac2a35 Compare October 22, 2020 04:42
@emteknetnz emteknetnz changed the title FIX Disable option to create top-level pages based on permissions ENH Disable option to create top-level pages based on permissions Oct 22, 2020
@emteknetnz emteknetnz force-pushed the pulls/4.6/top-level-create-permission branch from eac2a35 to 48796da Compare October 22, 2020 06:01
@emteknetnz emteknetnz force-pushed the pulls/4.6/top-level-create-permission branch from 48796da to 4e10bcf Compare October 22, 2020 08:21
@bergice bergice merged commit dad4aed into silverstripe:4.6 Nov 15, 2020
@emteknetnz emteknetnz deleted the pulls/4.6/top-level-create-permission branch November 16, 2020 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants