Lines Matching refs:roles
61 ber_bvarray_dup_x( &permp->roles, attr->a_nvals, NULL );
75 * check whether roles assigned to a user allows access to roles in
88 if ( !sessp->roles || !permp->roles ) goto done;
90 for ( i = 0; !BER_BVISNULL( &sessp->roles[i] ); i++ ) {
91 for ( j = 0; !BER_BVISNULL( &permp->roles[j] ); j++ ) {
92 if ( ber_bvstrcasecmp( &sessp->roles[i], &permp->roles[j] ) == 0 ) {
94 cp = rbac_role2constraint( &permp->roles[j], role_constraints );
228 if ( permp->roles ) {
229 ber_bvarray_free( permp->roles );