mraible opened a new pull request, #275: URL: https://github.com/apache/roller/pull/275
Port of #270 to master, so 7.0.0 has it too. The Design menu (theme, stylesheet and templates) shows only while `themes.customtheme.allowed` is on, but the actions behind it didn't check that setting. - `ThemeEdit`, `Templates`, `TemplateEdit` and `StylesheetEdit` return the setting from `isFeatureEnabled()`, so `UISecurityInterceptor` treats them the way the menu does. - XML-RPC `blogger.setTemplate` checks the same setting. On master that goes through the new XML-RPC server from #263; `BloggerAPIHandler` applied unchanged. - AtomPub's template collection already checked the setting on master, so it needs no change. It's a cherry-pick of d340aafed with `-x`. The only conflict was an import in `Templates.java`, where master no longer uses `RollerConstants`. The CHANGES entry is under 7.0.0's "Behaviour changes worth reading before upgrading". `DesignPagesFeatureTest` and `XMLRPCWeblogPermissionTest` come with it and pass on master. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
