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

Fix subsites to use correct permissions #183

Merged

Conversation

tractorcow
Copy link
Contributor

See http://www.silverstripe.org/software/download/security-releases/ss-2015-008-sitetree-creation-permission-vulnerability

Logged out users can never create pages (fixed in cms)

CMSMain controls pages creatable at the root using SiteTreeHints, as the PageTypes no longer assumes knowledge of the ability to create pages.

@@ -8,6 +8,10 @@ class SiteTreeSubsitesTest extends BaseSubsiteTest {
'SiteTreeSubsitesTest_ClassA',
'SiteTreeSubsitesTest_ClassB'
);

protected $illegalExtensions = array(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was added to simplify testing of this module with translatable included.

Possibly we could add subsites + translatable specific tests in the future.

halkyon pushed a commit that referenced this pull request Mar 23, 2015
…ions

Fix subsites to use correct permissions
@halkyon halkyon merged commit d701afc into silverstripe:1.0 Mar 23, 2015
@tractorcow tractorcow deleted the pulls/1.0/update-test-permissions branch March 23, 2015 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants