Bug #2630
Default module for non-admin users
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-base | |||
Target version: | v6.5-rc1 | |||
Security class: | Resolution: | |||
Affected version: | v6.4-beta2 | NEEDINFO: | No |
Description
After login, non-admin users are redirected to the Dashboard, but have not enough privileges on it and a "Forbidden" message is returned.
This is not a priority because the only module useful for a non-admin user is UserProfile, to change the password, which is explicitly pointed by a link in password expiration notifications:
https://<servername>:980/en/UserProfile
Associated revisions
Dashboard: allow access to authenticated users. Refs #2630
If user is not member of adm group, show UserDashboard modules.
Only UserProfileRedirect module is actually implemented. It redirects
the client to UserProfile module.
Dashboard: allow root access. Refs #2630
Makes root behave like admin.
Dashboard: fixed admin login redirect. Refs #2630
Redirect to UserProfile must not occur for admin login
even if nethserver-directory is not installed.
History
#1 Updated by Giacomo Sanchietti over 7 years ago
- Target version set to ~FUTURE
#2 Updated by Filippo Carletti over 7 years ago
- Target version changed from ~FUTURE to v6.5-rc1
#3 Updated by Davide Principi over 7 years ago
- Status changed from NEW to TRIAGED
- % Done changed from 0 to 20
#4 Updated by Davide Principi over 7 years ago
- Status changed from TRIAGED to MODIFIED
- % Done changed from 20 to 60
Test case
When no module name is specified in URL:- Members of
adm
group must see theDashboard
module - Other users must be redirected to
UserProfile
module
#5 Updated by Davide Principi over 7 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
In nethserver-testing:
nethserver-base-2.0.1-14.0gitfa801d8e.ns6.noarch.rpm
#6 Updated by Giacomo Sanchietti over 7 years ago
- Assignee set to Giacomo Sanchietti
#7 Updated by Giacomo Sanchietti over 7 years ago
- Status changed from ON_QA to TRIAGED
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 70 to 20
- custom user (
giacomo
): redirect to user profile
Note: custom user can still see the Dashboard link on the left. Is this correct?
NOT passed test case:root
: redirect to user profile, it must have the same behavior ofadmin
useradmin
: redirect to UserProfile
#8 Updated by Davide Principi over 7 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Davide Principi
- % Done changed from 20 to 30
#9 Updated by Davide Principi over 7 years ago
- Status changed from ON_DEV to MODIFIED
- Assignee deleted (
Davide Principi) - % Done changed from 30 to 60
#10 Updated by Davide Principi over 7 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
In nethserver-testing:
nethserver-base-2.0.1-16.0gite831fd1a.ns6.noarch.rpm
#11 Updated by Giacomo Sanchietti over 7 years ago
- Assignee set to Giacomo Sanchietti
#12 Updated by Giacomo Sanchietti over 7 years ago
- Status changed from ON_QA to VERIFIED
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 70 to 90
Users admin and root correctly redirect to Dashboard module.
Custom user correctly redirect to User Profile.
Marking as VERIFIED.
#13 Updated by Davide Principi over 7 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
#14 Updated by Davide Principi over 7 years ago
In nethserver-updates:
nethserver-release-6.5-4.ns6.rc1.noarch.rpm
nethserver-devbox-1.4.0-1.ns6.noarch.rpm
nethserver-backup-data-1.0.9-1.ns6.noarch.rpm
nethserver-base-2.1.0-1.ns6.noarch.rpm
nethserver-directory-2.0.1-1.ns6.noarch.rpm
nethserver-firewall-base-1.1.0-1.ns6.noarch.rpm
nethserver-hosts-1.0.7-1.ns6.noarch.rpm
nethserver-httpd-2.3.0-1.ns6.noarch.rpm
nethserver-httpd-admin-1.2.1-1.ns6.noarch.rpm
nethserver-hylafax-1.0.5-1.ns6.noarch.rpm
nethserver-ibays-2.0.3-1.ns6.noarch.rpm
nethserver-lib-2.0.1-1.ns6.noarch.rpm
nethserver-mail-server-1.6.1-1.ns6.noarch.rpm
nethserver-nethgui-1.4.0-1.ns6.noarch.rpm
nethserver-ntopng-1.1.2-1.ns6.noarch.rpm
nethserver-nut-1.0.7-1.ns6.noarch.rpm
nethserver-openssh-1.0.5-1.ns6.noarch.rpm
nethserver-roundcubemail-0.0.2-1.ns6.noarch.rpm
nethserver-samba-1.4.2-1.ns6.noarch.rpm
nethserver-shorewall-1.0.4-1.ns6.noarch.rpm
nethserver-sogo-thunderbird-1.1.1-1.ns6.noarch.rpm
nethserver-vpn-1.1.2-1.ns6.noarch.rpm
sogo-frontends-1.3.0-1.ns6.noarch.rpm