Singha1
11/01/2022, 7:24 AMSingha1
11/01/2022, 7:24 AMSingha1
11/01/2022, 7:26 AMSingha1
11/01/2022, 1:24 PMSingha1
11/01/2022, 1:27 PMcostap
11/01/2022, 5:37 PMps1
with permission view_folder
example, and then give that to user1
. I also make user1 a user of a folder, And i want to ask if a user is able to view a folder. As response should be true if the user is both a user of that folder and member of a permission set with the the view_folder permission. Not sure that makes ... i've been trying to model this but struggling to find a wayJake
11/01/2022, 5:43 PMcostap
11/01/2022, 5:45 PMJake
11/01/2022, 5:45 PMcostap
11/01/2022, 6:13 PMJake
11/01/2022, 6:21 PMcostap
11/01/2022, 6:23 PMcostap
11/01/2022, 6:24 PMpermission view = (user & type->view_type) & parent->view
but only if parent is definedJoey
11/01/2022, 6:24 PMparent
is not defined in the above, then that will return NO_PERMISSIONJake
11/01/2022, 6:26 PMJake
11/01/2022, 6:27 PMcostap
11/01/2022, 6:28 PMcostap
11/01/2022, 6:28 PMcostap
11/01/2022, 6:29 PMtpetr
11/02/2022, 11:48 AMtpetr
11/02/2022, 1:25 PMlostrainbow
11/02/2022, 4:13 PMJoey
11/02/2022, 4:17 PMlostrainbow
11/02/2022, 4:19 PMJoey
11/02/2022, 4:20 PMlostrainbow
11/02/2022, 4:26 PMJoey
11/02/2022, 4:43 PMJoey
11/02/2022, 4:43 PMSanPeterDev
11/02/2022, 5:00 PMSanPeterDev
11/02/2022, 5:03 PM