Elering / estfeed-datahub-docs

Estfeed Datahub Documentation
1 stars 0 forks source link

[EDH-3545] - Agreement editor role alone doesn't allow to create new SUPPLY agreements #123

Closed EinarArro closed 1 day ago

EinarArro commented 2 days ago

Problem

VIEW_CUSTOMER acces right is not associated with OPEN_SUPPLIER EDITOR_AGREEMENT role. Therefore if you try to add new SUPPLY agreement via UI with EDITOR_AGREEMENT user role, then you get an error:

CleanShot 2024-11-22 at 16 01 02@2x

Steps to reproduce

Expected result

User can search for Customer

Actual Result

_User cannot search, because VIEW_CUSTOMER is not associated with EDITORAGREEMENT role: [https://confluence.elering.sise/display/EAL/Roles+and+Rights]

Impact (If known)

Users without ADMIN role cannot add new SUPPLY agreements

Work-a-round

Assing ADMIN role to user

kristjanZ commented 1 day ago

Fixed in Release 0.23.17. Editor Agreement role for open supplier now also grants customer search privilege. Also in order to be able register the agreement the user also needs to have Viewer Metering Point role