-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Description
URL book page: http://web2py.com/books/default/chapter/41/09/control-de-acceso
It says:
También puedes usar auth.id_group(role="...") para recuperar el id del grupo por su nombre.
auth.del_permission(group_id, 'nombre', 'objeto', id_registro)
anula el permiso.
auth.has_permission('nombre', 'objeto', id_registro, id_usuario)
Must say
También puedes usar auth.id_group(role="...") para recuperar el id del grupo por su nombre.
auth.has_permission('nombre', 'objeto', id_registro, id_usuario)
anula el permiso.
auth.del_permission(group_id, 'nombre', 'objeto', id_registro)
Greetings.
Metadata
Metadata
Assignees
Labels
No labels