Function: DefaultAbility()
Defined in: app/casl/ability.ts:50
Creates a default ability with basic permissions.
Returns
MongoAbility<[Actions, Subjects]>
A MongoAbility instance with default permissions.
This function creates a default ability where the user is allowed to "read" all subjects. It uses the AbilityBuilder to define the default rules and then builds the ability.
