Project

General

Profile

Feature #613

Move admin/configuration menu to a section dedicated to custom field

Added by Julien Fastré over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/24/2015
Due date:
% Done:

0%

Estimated time:
0.20 h

Description

To avoid to have a lot of entries in the administration menu, we should separate entries in dedicated submenus.

History

#1 Updated by Marc Ducobu over 3 years ago

I think we should use the "Section" menu for that and then have an Admin Section menu.

As we do not use the section Menu for switching to admin section & others section, we can re-use the Section menu (and use the yellow menu as submenu like in the normal mode).

Julien is it ok for you ?

#2 Updated by Julien Fastré over 3 years ago

As I understand,

We would have a section menu with those entries :

for users :

- add a person
- homepage
- export

for admin :

- activity configuration
- custom fields configuration
- users and rights configuration

Is that what you suggest ?

I am ok with that. But If we do that, we should also have some links on the admin homepage: the page should not be blank when the user is landing on the page.

We should also moves the existing activity and users and rights entries to the section menu.

#3 Updated by Marc Ducobu over 3 years ago

Is that what you suggest ?

Yes

I am ok with that. But If we do that, we should also have some links on the admin homepage: the page should not be blank when the user is landing on the page.

For the moment, if you are a normal user and you go to the admin section, you arrived to an "Access Denied.". As the admin user is special, in this case, the best solution for me is to display the login form.

We should also moves the existing activity and users and rights entries to the section menu.

Yes

#4 Updated by Julien Fastré over 3 years ago

For the moment, if you are a normal user and you go to the admin section, you arrived to an "Access Denied.". As the admin user is special, in this case, the best solution for me is to display the login form.

This is difficult to perform... You should disconnect a user and, then, redirect to a login form. Quite difficult to do. The best way should be to customize the 403 error page to display that you have unsufficient right to do the action :

- How to customize error pages : http://symfony.com/doc/current/cookbook/controller/error_pages.html
- watch error page during dev : http://symfony.com/blog/new-in-symfony-2-6-error-page-previews

But, IMHO, the "admin" link in the section menu should no appears to "normal" users.

#5 Updated by Marc Ducobu over 3 years ago

  • Status changed from New to Closed

Also available in: Atom PDF