nuringa

Untitled

Jan 26th, 2021
597
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. permissions = Permission.creator_permissions
  2.                         .where.not(id: PermissionsUser.where(user: membership.user,
  3.                                                              board: membership.board)
  4.                                                       .pluck(:permission_id))
  5.  
RAW Paste Data