Disable New Site Creation in CTools

Description

This is copied from ITS JIRA: https://itsjira.umms.med.umich.edu/browse/TLCPM-426

Need to disable anyone but admins (including Service Center) from creating sites in CTools.

Design:
1. Remove the New Buttons and Duplicate Button. Keep Edit and Delete.
2. Need to remove the site add permission using a database script.
3. Display a message in Red at the top of the page (see attached mock up) and message specifics below. The message should be built in a way that it can be edited later without a CTools release.
4. Need to create a small test plan for the changes and the CTools Release including full regression test (John J)

Message will be as follows

December 3 - February 24:
Site creation is disabled. <IN BOLD>
CTools is being retired. You may request a new CTools Project Site through the ITS Service Center <LINK: http://its.umich.edu/help > until February 24, 2017. More information. <LINK: http://its.umich.edu/projects/ctools-project-sites/>

February 25:
Site creation is disabled.
CTools is being retired. More information. <LINK: http://its.umich.edu/projects/ctools-project-sites/>

Assumptions:
Admins have a back door Admin Sites Tool to create sites - only ITS.
Admin Lite (Service Center) does also have access to the sites tool, but they cannot create sites. Exceptions only, so Tier3 will have to create these.

Environment

None

Test Plan

None

Attachments

1

Activity

Show:

Gonzalo Silverio October 17, 2016 at 11:34 AM
Edited

I have managed to forget my Subversion password. Patch attached.

It removes the "New" and "Duplicate" menu items.

If there is a message at: /access/content/public/no_new_sites_message.txt the contents will be displayed in the entry view of site manage. If not - the container for the message is removed.

no_new_sites_message.txt is in the Admin Site /public folder.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 17, 2016 at 10:34 AM
Updated April 3, 2017 at 1:08 PM
Resolved November 9, 2016 at 10:19 AM