Userpanel

From SME Server
Jump to navigationJump to search


see UserManager, as this is part of a collection of contribs




userpanel
NeedImage.svg
userpanel logo
MaintainerDungog
Urlhttps://wiki.koozali.org
Source: smeserver-userpanel
Category

contrib

Tags userpanelmanager


Version

smecontribs-testing 11:
smecontribs 10:
smecontribs 9:
smeserver-userpanel
The latest version of smeserver-userpanel is available in the SME repository, click on the version number(s) for more information.


Description

Installation

dnf --enablerepo=smecontribs install smeserver-userpanel
yum --enablerepo=smecontribs install smeserver-userpanel
yum --enablerepo=smecontribs install smeserver-userpanel
signal-event conf-userpanel
yum --enablerepo=smecontribs install smeserver-userpanel
signal-event conf-userpanel
Important.png Note:
Panels are in separate rpms see UserManager


Configuration

server-manager > security > user panel access

The User Manager has two functions.

  • Selected /server-manager panels can be delegated to users.
  • Users can be given access to configure personal settings for themselves.


Important.png Note:
There is another contribs, named Groupmembers_Panel, wich provides a modified groups panel to be used together with the UserManager contrib. In this panel only the members of the groups can be changed. All other functions like create, delete and editing the description are removed. The maintenance of groups can be delegated to normal users without the risk that they inadvertently delete groups.


you can list the available configuration with the following command :

config show userpanel

Some of the properties are not shown, but are defaulted in a template or a script. Here a more comprehensive list with default and expected values :

property default values
DbName nextcloud string for mysql db
DbPassword GENERATED string for mysql db
DbUser nextcloud string for mysql db
access private private, public
status enabled enabled,disabled

Delegation

To delegate panels to users on your internal network, open /server-manager > User Panel Access

Select a user to grant additional rights, users with extra panels granted are shown in Red.

You can select the global user to allow everyone to access specific panels, or a group to allow all the users in that group access.

Check the box next to the functions you wish to allow.

The userpanel-* functions are designed for users, although you may not want to assign all functions. By default the change password and email forwarding are allowed for all users, you can change this with the global user.

User Functions

Panels specifically for users are available in separate rpms, see below.

After the panels have been installed and delegated by admin, they are available for users at either

https://www.yourserver.net/user-manager or

https://www.yourserver.net/user

Note, the s in https

  • /user alias

If https://www.yourserver.net/user is already used by another application it is possible to define another alias

 config set UserPanelAlias new-alias
 signal-event conf-userpanel

and use https://www.yourserver.net/new-alias

To cancel this alias :

 config delete UserPanelAlias
 signal-event conf-userpanel

https://www.yourserver.net/user is available again.



Important.png Note:
A log out menu is present now in the user-manager and the name of user logged is displayed also. Some time when you log out you can see Two frames with two login box, see bugzilla:8026.You simply need to refresh the web page by pressing F5 or ctrl+F5 key.


Uninstall

yum remove smeserver-userpanel  

Bugs

Please raise bugs under the SME-Contribs section in bugzilla

and select the smeserver-userpanel component or use this link


Below is an overview of the current issues for this contrib:

IDProductVersionStatusSummary (4 tasks)
13200SME Contribs11.0CONFIRMEDsm2 userpanel setting should use UTF8 db call
13199SME Contribs11.0RESOLVEDsm2 panel to configure userpanel is in wrong rpm
12775SME Contribs11.0VERIFIEDperl-CGI 'startform' and 'endform' are dropped in favor of 'start_form' and 'end_form'
8042SME Contribs8.0CONFIRMEDpages are not translated

Changelog

Only released version in smecontrib are listed here.

smeserver-userpanel Changelog: SME 10 (smecontribs)

2022/12/01 Jean-Philippe Pialasse 1.4-6.sme
- fix translation not expanded [SME: 10261]
- fix httpd admin stopped [SME: 12249]

 moved actions before template and service actions
removed inline expand and restart
2022/11/22 Jean-Philippe Pialasse 1.4-5.sme
- prevent manager locking on reconfiguration [SME: 12235]

2022/08/01 Jean-Philippe Pialasse 1.4-4.sme
- update to httpd 2.4 access syntax [SME: 12064]

 thanks to Vasarhelyi Zsolt

- fix call to svc in place of systemctl [SME: 11390]

- remove reference to info.txt [SME: 10964]

2021/02/23 Jean-Philippe Pialasse 1.4-3.sme
- add -update event to avoid reboot [SME: 11079]

also fix detection of userpassword file
2020/11/02 Michel Begue 1.4-2.sme
- Initial release for sme10 [SME: 11079]