Taking one permission away from a user (BOU-1001). Rights come only through groups, so each way ends a membership or an assignment; options are ranked by what else they take, read from their previews.
Taking one permission away from a user (BOU-1001). Rights come only through groups, so each way ends a membership or an assignment; options are ranked by what else they take, read from their previews.
(gives? assignment path)Whether path, a right as explain gives it, comes from assignment of
its group: the same role and stored scope.
Whether `path`, a right as explain gives it, comes from `assignment` of its group: the same role and stored scope.
(rank options permission paths)options, [{:kind :group :assignment :preview ..}], each given :removes?,
whether it ends every one of paths, the rights giving the permission, so
the user no longer holds it in any scope; :also-loses, the user's other
losses; and :radius, those and the other users it reaches. The ones that
remove it first, then the smallest, a leave before an assignment on a tie;
a refused one, with no preview, last.
`options`, [{:kind :group :assignment :preview ..}], each given `:removes?`,
whether it ends every one of `paths`, the rights giving the permission, so
the user no longer holds it in any scope; `:also-loses`, the user's other
losses; and `:radius`, those and the other users it reaches. The ones that
remove it first, then the smallest, a leave before an assignment on a tie;
a refused one, with no preview, last.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |