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

Role Permission for Pharma Permission and Authorization changes #3890

Closed
metas-mk opened this issue Apr 19, 2018 · 1 comment
Closed

Role Permission for Pharma Permission and Authorization changes #3890

metas-mk opened this issue Apr 19, 2018 · 1 comment

Comments

@metas-mk
Copy link
Member

metas-mk commented Apr 19, 2018

Is this a bug or feature request?

Feature Request

What is the current behavior?

Currently, it is not possible to allow the update of fields just for users of a specific role.

Which are the steps to reproduce?

Open, try and see.

What is the expected or desired behavior?

In Window Business Partner Pharma, the setting of the following fields shall be restricted to a specific role only:

  • Business Partner
  • Manufacturing Permission
  • Wholesale Permission
  • Agent
  • Pharmacy Permission
  • Veterinary Permission
    • Type A: Authorisation for all Products
    • Type B: No Authorisation for Pharmaceutical Products
    • Authorisation Date for "Type A"

The solution shall be to create 2 process/ actions (1 vendor, 1 customer) that shall be visible (if possible easily) when selecting customer and vendor subtab row and flags customer/ vendor = Y. Only the specific role will have the process permissions. Those fields shall be readonly always.

metas-rc added a commit to metasfresh/metasfresh-webui-api-legacy that referenced this issue Apr 20, 2018
metas-rc added a commit to metasfresh/metasfresh-webui-api-legacy that referenced this issue Apr 20, 2018
metas-rc added a commit that referenced this issue Apr 20, 2018
metas-rc added a commit that referenced this issue Apr 20, 2018
metas-rc added a commit to metasfresh/metasfresh-webui-api-legacy that referenced this issue Apr 20, 2018
metas-rc added a commit to metasfresh/metasfresh-webui-api-legacy that referenced this issue Apr 20, 2018
metas-rc added a commit to metasfresh/metasfresh-webui-api-legacy that referenced this issue Apr 20, 2018
metas-ts added a commit that referenced this issue Apr 23, 2018
[#3892](#3892) Contracts: Allow possibility to copy the prices when extending
[#3478](#3478) Window design: product Pharma
[#3883](#3883) Cannot import products
[#3895](#3895) extend M_HU_Process
[#3897](#3897) Add Translations for Pharma Business Partner Window
[#3890](#3890) Role Permission for Pharma Permission and Authorization changes
[#3887](#3887) Automatic Setting of Pharma Authorisation for Shipment/ Receipt
[#3885](#3885) Process C_Flatrate_Term_Extend does not work if ContractStatus is null
[#3768](#3768) Excel Report for vendor assessment
[#3864](#3864) C_FlatrateTerm.C_Currency is not forwarded when a flatrateTerm is extended
[#3876](#3876) Different issues around invoice candidate updating
[#3834](#3834) Check if Product is banned in Batch entry/ Document Lines creation
[#3763](#3763) Contracts: Create a function that provides a hierarchy of contracts
[#3863](#3863) Missing migration of C_BPartner_Stats.SOCreditStatus on some systems
[#3827](#3827) Support SSL / TLS when sending mails via SMTP making it SMTPS
[#3777](#3777) Show available to promise in Procurement Dispo modal in Sales Order
[#34](metasfresh/metasfresh-docker#34) add msv3server to metasfresh-docker as "extras"
[#3861](#3861) StockChangedEvent can't be serialized
[#3859](#3859) Credit Limit: Prioritize by date and then seq No from Credit Limit type
@metas-rc metas-rc removed their assignment Apr 23, 2018
@metas-lc metas-lc self-assigned this Apr 23, 2018
@metas-lc
Copy link
Contributor

IT

  1. open Business Partner window, check actions
    => there are no pharma actions OK
  2. open Business Partner Pharma window
    => there are pharma actions: update customer pharma permissions and update vendor pharma permissions OK
  3. set iscustomer and isVendor on N and check the actions again
    => update customer pharma permissions and update vendor pharma permissions are there and readonly OK
  4. check advance edit in customer and vendor subtabs
    =>
    Pharma Manufacturer Permission, Pharma Wholesale Permission, Pharma Agent Permission, Pharmacy Permission, Veterinary Pharmacy Permission, Pharma Shipment Permission, Typ A: Lieferberechtigung für alles, Date Permission Type A
    AND
    Pharma Manufacturer, Pharma Wholesale, Pharma Agent, Date Permission Type A, Pharma Receipt Permission
    are there and readonly OK
  5. run Update Customer Pharma Permissions, set some fields on Y
    => the corresponding fields updated, pharma shipment permission is on A, Date Permission type A is on today OK
  6. run Update Customer Pharma Permissions, set all fields on N
    => all fields are on N, pharma shipment permission is on B, Date Permission type A is null OK
  7. repeat the same testcase for Update Vendor Pharma Permissions
    => works the same OK
  8. check translations: fields are translated OK
    the process doesn't have the params/title translated! NOK
    created task: WebUI Design: Add Translations for Pharma Business Partner Actions #3920

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants