Create a new empty Authorization permissions.
Add a new permission
for role
to permissions
with the access in allowed
.
a role
the permission
whether the role has this permission or not
Add a new role
to permissions
without any permissions. You can add
permissions for the role with gst_rtsp_permissions_add_permission_for_role().
a role
Add a new role to permissions
based on structure,
for example
given a role named tester
, which should be granted a permission named
permission1
, the structure could be created with:
gst_structure_new ("tester", "permission1", G_TYPE_BOOLEAN, TRUE, NULL);
Check if role
in permissions
is given permission for permission
.
a role
a permission
Remove all permissions for role
in permissions
.
a role
Create a new empty Authorization permissions.
The opaque permissions structure. It is used to define the permissions of objects in different roles.