1b.app
Link copied -

How to restrict access to payments for a specific category and what the payment category setting in permissions is responsible for

In the rights https://baza.cn.ua/admin/shop/users/permissions/1180/
In the finance block there is a setting "Payment category"
I removed the user's access to the category "Settlement with deliveries."
But the payment in which this category is indicated was both available to this user and available https://baza.cn.ua/admin/shop/finance/payment/16328/control/
All that has changed for the user is that he simply does not see in this payment in the "Category of payment" field what is filled in there, then he simply has nothing there
At the same time, here https://baza.cn.ua/admin/shop/finance/category/ he sees everything
1. What is this setting responsible for in the FINANCIAL rights==>Payment category and how does it work?
2. Is it possible to somehow restrict the employee's access rights to payments within one wallet, that is, so that he would see only part of the payments of the wallet?
3. In the block of rights for finance there is a setting &quo
Original question is available on version: ru

Answers:

1. checking access rights to the category when adding / editing a payment, as well as for displaying in some selectors of payment categories
2. only by the payment operator within the account
3. access by payment operator (who made it)
4. As far as I know, there is no official documentation on this.
5. It is likely that everything is collected in one section.
15.09.2021, 17:54
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
1. checking access rights to the category when adding / editing a payment, as well as for displaying in some selectors of payment categories

1. The user https://baza.cn.ua/admin/shop/users/permissions/1180/ has no access to the category "Settlement with supplies"
This payment has https://baza.cn.ua/admin/shop/finance/payment/16328/control/
There was a category "Settlement with supplies", according to you, this user should not have edited this entry (maybe even see, since this category is forbidden not only to edit, but also to watch), but for some reason the user managed to do this
When editing a payment in the category field for this user, it was empty there, when the user wrote "test" in the comment and saved, the text was saved and the category was removed https://baza.cn.ua/admin/shop/activity/?datefrom=&dateto =&url=%2Fadmin%2Fshop%2Ffinance%2Fpayment%2F16328%2Fcontrol%2F&ip=&post=&user=1180
Why did it happen (like it shouldn't have happened)?

Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
3. access by payment operator (who made it)

3. How can I do this? I don’t have settings there so that I can select an employee, is there just a setting without selecting an employee?
15.09.2021, 21:19
Original comment available on version: ru


1. The user https://baza.cn.ua/admin/shop/users/permissions/1180/ has no access to the category "Settlement with supplies"
This payment has https://baza.cn.ua/admin/shop/finance/payment/16328/control/
There was a category "Settlement with supplies", according to you, this user should not have edited this entry (maybe even see, since this category is forbidden not only to edit, but also to watch), but for some reason the user managed to do this
When editing a payment in the category field for this user, it was empty there, when the user wrote "test" in the comment and saved, the text was saved and the category was removed https://baza.cn.ua/admin/shop/activity/?datefrom=&dateto =&url=%2Fadmin%2...
Why did it happen (like it shouldn't have happened)?

The error came out - I provided you with information on access rights from the OS version.
In your version, checking to see/manage a payment is based only on access to the account (account), and access rights to categories are required for selectors.

3. How can I do this? I don’t have settings there so that I can select an employee, is there just a setting without selecting an employee?

In your version, this setting and "View only payments where the employee is the client manager" are needed to determine whether the employee sees in the list of payments (where they are displayed by access rights) payments for all, or only for clients where he is a manager.
PS: I will immediately answer all your subsequent questions / statements in the style of "should work differently", "this is not logical", etc. - correction is possible only if the reasoning of the logic discrepancy is provided (for example, an agreement / addendum to it, which confirms that your version of the product should work that way). In any other case, for your version of the product (box), this is a refinement.
17.09.2021, 10:16
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment