Hi guys.
I'm working on creating on addition Syteline module but I want to use existing authorization model, my main goal is to check does user with username %user% have permissions to access to Customer Orders screen.
I was able to define user groups :
SET @my_group_id =(SELECT GroupNames.GroupId
FROM UserGroupMap_mst
left join GroupNames on GroupNames.GroupId = UserGroupMap_mst.GroupId
where userId =(
select userid from UserNames where username = 'testuser'))
But where can I find 'Form to Group' reference?
On ui I've found Object Authorization for Groups form which contains such data, but it refers to AccountAuthorizations_mst table and there is no row for corresponding group number.
SELECT * from AccountAuthorizations_mst where id = @my_group_id - returns no row
Any advise would be appreciated