Skip to content

Commit

Permalink
Fix issue with test for request organizer role sapmentors#5
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorwolf authored and open-ui5 committed Oct 14, 2016
1 parent 396b58c commit 1c18dcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

schema = "SITREG";
query = "SELECT *
FROM \"SITREG\".\"com.sap.sapmentors.sitreg.data::SITreg.RegisterAsOrganizerQueue\"
FROM \"SITREG\".\"com.sap.sapmentors.sitreg.data::SITreg.Organizer\"
WHERE \"History.CreatedBy\" = CURRENT_USER;";

// Using an hdbtablefunction does not work as it would need SELECT authorization on the Participant table
Expand Down
1 change: 1 addition & 0 deletions roles/participant.hdbrole
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ role com.sap.sapmentors.sitreg.roles::participant {
sql object com.sap.sapmentors.sitreg.odataparticipant.procedures::RegisterAsOrganizerCreate: EXECUTE;
sql object com.sap.sapmentors.sitreg.odataparticipant.procedures::RegisterAsOrganizerRead: SELECT;
sql object com.sap.sapmentors.sitreg.data::SITreg.RegisterAsOrganizerQueue: INSERT, UPDATE;
sql object com.sap.sapmentors.sitreg.data::SITreg.Organizer: INSERT, UPDATE;

application privilege: "com.sap.sapmentors.sitreg.odataparticipant::participant";
}

0 comments on commit 1c18dcb

Please # to comment.