3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
254 stars 143 forks source link

Migration to 3.6.1 : missing rights #3443

Closed Antoviscomi closed 1 year ago

Antoviscomi commented 1 year ago

What is the question?

I noticed that, in LWC 3.6.1 the Admin dashboard left panel doesn't contain the links to server informations and QGIS projects anymore as was in 3.6.0. Is this a mistake or a 'by design' choose?

Thanks for response

Schermata del 2023-01-26 09-59-47

Versions

Versions :

Check Lizmap plugin

QGIS server version, only if the section above doesn't mention the QGIS Server version

3.28.2

Operating system

Ubuntu 22.04

Browsers

Chrome

Browsers version

109.0.5414.119

Relevant log output

No response

mdouchin commented 1 year ago

It is not made on purpose but seems to be a issue when upgrading.

It seems the upgrade file has not been run during the upgrade: https://github.com/3liz/lizmap-web-client/blob/master/lizmap/modules/admin/install/upgrade_newAclRights.php This scripts should have added some new rights, and give the "admins" group the new rights.

In the changelog, it corresponds to the sentence

A lot of new rights in the administration panel have been added to have a publisher group. It allows you to better distinguish between administrators and QGIS publishers.

When you migrate from 3.5.X to 3.6.0, have you followed these steps https://docs.lizmap.com/current/en/install/upgrade.html#upgrading-from-lizmap-3-5-version especially ran the line

php lizmap/install/configurator.php

before

php lizmap/install/installer.php

?

Some changes have been made and this "configurator" command is now mandatory.

We could help you run some commands to fix your issue depending on your installation process.

Antoviscomi commented 1 year ago

@mdouchin right, after run php configurator.php all work fine! thank you very much I close this Cheers