[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intentions behind role 'inventory_adjust' vs 'inventory_reports'

Hi Erik,

Seeing this email I'm thinking your throw-away comment in #ledgersmb has merit.
Seems like we need a roles/permissions editor for use at a dev level.

Off hand I'd think we may want to revisit the permissions ecosystem possibly increasing its granularity and as we would now have an editor include virtual roles/permissions.

Then at the instance and company levels allow roles/permissions  to be selected as active/inactive so only the ones relevant to a company/instance are displayed in the UI

David G

Sent from my Samsung Galaxy Note 4 on the Telstra Mobile network

-------- Original message --------
From: Erik Huelsmann <..hidden..>
Date: 16/04/2017 05:55 (GMT+08:00)
To: Development discussion for LedgerSMB <..hidden..>
Subject: [Ledger-smb-devel] Intentions behind role 'inventory_adjust' vs 'inventory_reports'


Today I'm trying to finish my tests for the inventory reports by creating a few BDD tests (I already had the database tests) for the reporting functionality.

Now, I try to run the tests using the minimal role set required for the functionality. However, I'm finding that I have a problem: I want to use the 'Search' function in the Goods and Services menu because it lists (among other things) the "On Hand" amount.

Granting my test user the "inventory_adjust" permission doesn't give access to the Search "report" output. Nor does "inventory_reports" (which provides access to the activity report and the inventory and cogs report).

The 'search' node seems to be part of the 'part_edit' role only.

I'm a bit lost here, trying to understand what the correct role would be for users who want to do the activities involved in inventory maintenance (searching for parts, inspecting parts, inspecting on-hand amounts, entering new inventory counts, ....).




http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Ledger-smb-devel mailing list