The project description almost sounds identically to the functionality that http://drupal.org/project/og_user_roles provides - although OGUR handles user permissions within the context of a group in a more generic fashion.

I'd be happy to join efforts and perhaps incorporate what may be required into og_user_roles 4.x.

Thoughts?

Comments

amitaibu’s picture

@sun,
I think it can make sense. og_perm can move into ogur, and we'll probably need to change

function og_perm_check_access() {
  ..
  return call_user_func_array($callback, $args) && user_access($perm);

to check the OG role.

In OG7, ogur and og_perm will not be needed, as the concept of roles and permissions per group -- og_user_acceess() -- are now one of the key concepts of OG7.