Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User with permission View can't create segments #12437

Closed
mihadd opened this issue Jan 12, 2018 · 1 comment
Closed

User with permission View can't create segments #12437

mihadd opened this issue Jan 12, 2018 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@mihadd
Copy link

mihadd commented Jan 12, 2018

Hi,

in our hight traffic matomo cluster installation is the "Archive reports when viewed from the browser" set to NO and "browser_archiving_disabled_enforce = 1". Our helpdesk colleagues use a matomo user, which has only VIEW permission. Until Piwik 3.2.0 they created a lot of segments and an admin user had to switch segments setting to "segmented reports are pre-processed (faster, requires cron)" (which was not comfortable too). But since 3.2.1 they can't create segments anymore. Every creation results in the error message "To modify a pre-processed segment, a user must have admin access or super user access." I think this is the result of changes at ticket #12254 which were released with 3.2.1. Can you correct this please so users with VIEW permission can create segments again.

Thanks in advance.
Mike

Piwik version: 3.2.1
MySQL version: 5.5.58
PHP version: 5.6.33-0+deb8u1

@mattab
Copy link
Member

mattab commented May 19, 2020

Hi @mihadd

Please see the INI setting below which lets you configure this:


; By default, any user with a "view" access for a website can create segment assigned to this website.
; Set this to "admin" or "superuser" to require that users should have at least this access to create new segments.
; Note: anonymous user (even if it has view access) is not allowed to create or edit segment.
; Possible values are "view", "admin", "superuser"
adding_segment_requires_access = "view"

Thanks,

@mattab mattab closed this as completed May 19, 2020
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants