You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on our #3208, we need to adjust necessary back python logic, to incorporate the following:
List Role Collections: list all collections associated with the current role.
SELECTCollection.CollectionNameFROM Collection
LEFT JOIN PermissionCollection ONPermissionCollection.CollectionID=Collection.CollectionIDLEFT JOIN Account ONAccount.RoleID=PermissionCollection.RoleIDLEFT JOIN Role ONRole.RoleTypeID=RoleType.RoleTypeIDWHERERoleType.RoleType='role-1'
The above implementation will likely occur in the applications backend code.
query ='''\ SELECT Collection.CollectionName FROM Collection LEFT JOIN PermissionCollection ON PermissionCollection.CollectionID = Collection.CollectionID LEFT JOIN Account ON Account.RoleID = PermissionCollection.RoleID LEFT JOIN Role ON Role.RoleTypeID = RoleType.RoleTypeID WHERE RoleType.RoleType = %s'''
args = (current_user)
cur.execute(query, args)
The text was updated successfully, but these errors were encountered:
Based on our #3208, we need to adjust necessary back python logic, to incorporate the following:
List Role Collections: list all collections associated with the current role.
The above implementation will likely occur in the applications backend code.
The text was updated successfully, but these errors were encountered: