TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Can´t assign role for local user or user added from MS Active Directory

Open oshkurin opened this issue 1 year ago • 6 comments

Steps to reproduce

  1. Create local user test or add user from MS Active directory
  2. Create folder test_folder
  3. Create role test_role, assign write permission for folder test_folder
  4. Edit user test or added user from MS Active directory, assign role test_role, submit
  5. Check is there test_role assigned for user test (or added user from MS Active directory) - no, not assigned

Expected behaviour

Ability to assign role to user

Actual behaviour

When trying to assign role for user nothing happens, role does not assigned to user, no errors in web gui, no errors in nginx logs.

Server configuration

Operating system: cat /etc/system-release CentOS Linux release 7.9.2009 (Core)

Web server: nginx -v nginx version: nginx/1.25.3

Database: mysql -V mysql Ver 14.14 Distrib 5.7.44, for Linux (x86_64) using EditLine wrapper

PHP version: php -v PHP 8.1.25 (cli) (built: Oct 24 2023 21:51:16) (NTS gcc x86_64) Copyright (c) The PHP Group Zend Engine v4.1.25, Copyright (c) Zend Technologies

Teampass version: Current version loaded 3.0.10.153

Teampass configuration file:

Updated from an older Teampass or fresh install: PLEASE attach to this issue the file /includes/config/tp.config.php. Can't attach tp.config.php - got message "We don’t support that file type. Try again with GIF, JPEG, JPG, MOV, MP4, PNG, SVG, WEBM, CPUPROFILE, CSV, DMP, DOCX, FODG, FODP, FODS, FODT, GZ, JSON, JSONC, LOG, MD, ODF, ODG, ODP, ODS, ODT, PATCH, PDF, PPTX, TGZ, TXT, XLS, XLSX or ZIP."

Client configuration

Browser: Firefox 86.0 (64 bit)

Operating system: MS Windows Server 2019 Standart Pop!_OS 22.04 LTS

Logs

Web server error log

No errors in nginx error log

Insert your webserver log here


#### Log from the web-browser developer console (CTRL + SHIFT + i)

Insert the log here and especially the answer of the query that failed.


oshkurin avatar Nov 28 '23 12:11 oshkurin