modified the permission check to display the link to workgroup admin in ...

...workgroup home and discussion page. Now it checks the model-based permission to modify any group instead of the object-based one.