Can options on the Properties tab of a page be restricted to users?

Tim Valdez asked on February 17, 2024 01:26

In the CMS when editing a page, you can go to the Properties tab and "Page alias" is an option. I want to be able to remove or restrict access to that option for web editors since everyone plays with it and it messes up the menus and makes a general mess. Is there an easy way to restrict access to that, or other options, in the Properties tab for a webpage?

Correct Answer

Juraj Ondrus answered on February 22, 2024 06:04

Well, the Page alias item is not available by default in the drop down menu. This is how it looks like in a fresh Kentico 11 installation (you have also few other custom items): screen shot
I would recommend checking the project documentation for more details.
It seems that somebody added some item to the UI elements - in the Modules -> Custom -> User interface and then added some items in the UI elements module tree e.g. here: screen shot. And as you can see, you can set the Access condition (marked green in the previous screen shot) so you can set only users in desired roles to have access.
I believe that this customization will be described with more details in the project documentation.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Juraj Ondrus answered on February 19, 2024 09:01

I would recommend using the UI personalization feature for this. Then, when setting this up for give user roles, in the UI elements tree go to: CMS -> ADministration -> Content management -> Pages -> Edit -> Properties -> URLs -> and uncheck the Alias option. Sample screen shot.

0 votesVote for this answer Mark as a Correct answer

Tim Valdez answered on February 20, 2024 19:16

Thank you for this, I can now also restrict other problem options in that tab! One thing, the "Page aliases" is the correct option, not sure what "Alias" controls.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on February 21, 2024 05:20

It depends whether you mean the "Page alias" field on the Properties -> URLs tab, this stands for the NodeAlias column in the CMS_Tree table and in the UI elements tree is referred as "Alias" or, you mean adding the alternative page aliases - alternative URL paths for pages - this is referred as "Page aliases" in the UI tree. In this sample screen shot, red is the "Alias" and green "Page aliases".

0 votesVote for this answer Mark as a Correct answer

Tim Valdez answered on February 21, 2024 16:44

Well, basically I am trying to restrict several of these options (see screenshot) from normal users. I note that the "Page alias" option still shows a [Submit] button when the corresponding Page alieses box is unchecked in the UI personalization settings, although the input boxes & text are hidden so it's fine, but that Submit is probably a bug. Remember that I'm on Kentico 11 so your screenshot is a bit different. https://imgur.com/jqeCRhc

0 votesVote for this answer Mark as a Correct answer

Tim Valdez answered on February 22, 2024 16:47

I don't have that Custom Item available as a Property in that screen, see image. screenshot

0 votesVote for this answer Mark as a Correct answer

Tim Valdez answered on February 22, 2024 16:50

Also, I'm global admin but all of these things are grayed out for me. How do I get access to edit them?

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on February 23, 2024 05:14

The "Custom item" was added by me and named in this way to demonstrate where and how to get a custom item into the menu. Also, the custom items are usually done through the CUSTOM module, if you are checking the UI elements tree from a different, non-parent module, they are greyed out. Please, check the project documentation or ask the authors for more details who did what and where.

0 votesVote for this answer Mark as a Correct answer

Tim Valdez answered on February 26, 2024 19:26

Not holding my breath but is there an easy way to apply these settings (specifically unchecking two boxes in the screen) to every Role except Global Admin by chance?

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on February 27, 2024 05:11

I am not sure what two boxes you mean, could you be more specific please?

0 votesVote for this answer Mark as a Correct answer

Tim Valdez answered on February 27, 2024 16:51

As discussed earlier in the thread, the "URLs/Page Aliases" and "Security/Permissions" checkboxes in the Roles UI Personalization tree. Somehow I want to make sure those two boxes are unchecked in every Role we have except for Global Admin without having to pull up each of the dozens of Roles we have set up.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on February 28, 2024 05:08

For users assigned with global administrator privilege level no permissions, no UI personalization is applied. Global admin always sees and can do everything. For the other roles, the only other way would be creating a code, which will loop through all the roles and update the UI permissions. Please see the API examples.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.