You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
asok44
changed the title
The available quantity is always 0 for users of type 'basic'
The available quantity is always 0 for users of type 'basic', even though the quantity is not 0 in admin.
Mar 14, 2023
I may have found the cause, it's the superOnly() function in libraries/Genlib.php that prevents access if the user is not logged in or the role is not "Super" for Items.
If you want "available quantity" to work with "Basic" type users, you can temporarily disable the code: $this->genlib->superOnly();
by adding // before //$this->genlib->superOnly();
in controllers/Items.php (around line 18)
And find another way to prevent access if user is not logged in or role is not "Super" can Add New Item
The text was updated successfully, but these errors were encountered: