A
A
Alexer052019-09-05 05:53:05
1C-Bitrix
Alexer05, 2019-09-05 05:53:05

How can a user set the rights to view the "Search phrase statistics" page in the admin panel?

How can the user set the rights to view the "Settings / Search" pages? Or only to this page "Settings / Search / Statistics / List of phrases"?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Savrasov, 2019-09-05
@Alexer05

No way, only by issuing full admin access.

Y
Yaroslav Alexandrov, 2019-09-05
@alexyarik

Not true, you can implement it by expanding the standard features of the system.
For the administrative section for this user group, you can leave in the admin panel only the necessary menu item on the "Settings / Search / Statistics / List of phrases" page.
This is all achieved using the OnBuildGlobalMenu event handler in which you select the user \CUser::GetUserGroupList($USER->GetId()) and \CGroup::GetList, then print the $aGlobalMenu admin menu array, view the value of the page you need and form your own $aModuleMenu array.
At the exit, the user will have only one menu item in the admin panel.
By the way, all this is in the tickets for online exam No. 2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question