keeleinstituut / tv-tolkevarav

Tõlkevärav (Translation Hub)
1 stars 0 forks source link

Viewing single vendor privileges #570

Open plakitkelly opened 9 months ago

plakitkelly commented 9 months ago

Wiki Preconditions: User has the privilege "Teostajate andmebaasi vaatamine" (view_vendor_db) 2.7.2 User clicks specific user's "Vaata" button.

2.7.3 System displays a view where is data related to the vendor (name, email, phone, business name, tags, comment) and all the prices for specific language directions and skills (that relate to the specific user) and price rate percentages specific to the user.

The design is similar to single user view, but it's not possible to edit any of the vendor's data!

Actual: Currently it's not possible to view single vendor data with view_vendor_db privilege. If user clicks on Vaata button, user has navigated to main page and sees an error: Teil puudub ligipääs soovitud lehele. User sees single vendor data with edit_vendor_db privilege.

plakitkelly commented 9 months ago

@KaarelKa It's still not possible to view single vendor's data with privilege view_vendor_db https://github.com/keeleinstituut/tv-tolkevarav/assets/130659408/7a3d37c4-3b0d-46d0-83a5-01d3f3816661

KaarelKa commented 9 months ago

@plakitkelly Yeah, sorry about that, this was left in 1 WIP branch which we ended up not merging

plakitkelly commented 9 months ago

It's OK