Control who can rename components

As an Inspire administrator, you can define at the user and role level whether the Rename action is available. If you add a user or role to the can_rename_file module property for the Content Browser module, the non-administrator user can see the Rename option. Otherwise, only administrators can rename a component in the Components browser.

Tips and tricks

  • By default, now only administrators and users granted access through the can_rename_file property can rename a component in the Components browser.
  • If a user is an administrator or has been added to the can_rename_file module property, that user can rename components in the following places:
    • Content Browser — from the right-click menu, the Options menu, and the Selected components panel
    • Projects — from the right-click menu, the Options menu, and the Selected components panel
  • If you are an administrator or have been granted access to Rename through the can_rename_file property, you still cannot change the GUID part of the file name.
    • For example, the original component is named peanut_butter_sandwich_f2309u892348y6.xml.
    • You can rename peanut_butter_sandwich to peanut_butter_jelly.
    • You can't change the GUID: _f2309u892348y6
  • The ability to change a topic title in Oxygen is not affected by this module property.
  • The ability to change a folder name is not affected by this module property.

To allow non-Admin users to find and replace text:

  1. From the Security menu, select Module access management.
  2. From the Module access management tab, select Content browser, and then at the end of that row click Update pencil_icon.
  3. On the Update Module Access Permissions screen, select the Properties tab.
  4. In Module Properties, select can_rename_file .
  5. In Users/Roles, click Add.
    On the Select Users screen, if the list is large or you only want to see a certain type of user, you can narrow the list in the following ways:

    • To see only names that contain a word or specific letters, in Filter, enter text. For example you can find names that contain "admin", or "review". You can't search for text in any other column except Name.
    • To see all users sorted by Name, Security Type, or User Type, click the column heading and then click the grey arrow. To sort by Name or User Type you can also use the Sort By drop-down box.
    • By default, names with a User Type of Support are not included in the list. To see these users, select the Include support users option.
  6. After you finish selecting users or roles, click Select.
    Results:
    • You see your selection(s) added to the Users/Roles list.
    • You return to the Permissions tab of the Update Module Access Permissions screen.
  7. On the Update Module Access Permissions screen, click Save.
    Results:
    • You are returned to Module Access Management screen.
    • Any users whose access you added or removed must log out and back in to see the changes.