If I have a group not pubblic and assign it at one term, the term remain always visible also for
anonymous and also for other groups;
is possible hide Vocabulary and tems for who haven't permission of to see?
not hide only the content but also the menu's voice (Vocabulary and terms)

Comments

amitaibu’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Active » Closed (won't fix)

hiding a term isn't og_vocab task. An other access module should implement it.

alb’s picture

why? if already og_vocab hiding posts at groups that not have access at that group's(private) vocabulary?

I am an owner A. I make a Group-A that is private. For this group I create a Vocabulary-A.
All posts in Vocabulary-A are private. This og_vocab does.
But the terms and vocabularies are visible in the menu. Why?

amitaibu’s picture

@alb,
Currently in drupal there is node_access which OG module uses to control the visibility of group node and group posts. og_vocab doesn't deal with that at all.
AFAIK, In Drupal there is no equivalent taxonomy_access. I see the need of this feature - I actually need it myself -but I don't think it og_vocab needs to implement it.

If you find and existing/ write a new module that implements a taxonomy_access then maybe we can have an include file that will use it - but og_vocab itself isn't about taxonomy access.

alb’s picture

Version: 6.x-1.x-dev » 5.x-1.x-dev

So is more a solution for who developed tac module?

The logic code must to work so:
if a group is visible only at its members then also its vocabulary and terms must to be visible
only at its members.

I not know how is possible to realize this.
But first step is to know in which module and which function make a post (the group) visible only
at its group.

2nd step is know which module and that code hidden vocabularies and terms (this think is
tac, also if isn't simple to understand how it work)

3 step is for the node (group) know which is its vocabulary and terms and uset the code in 2nd step.

Perhaps there is also a module that hidden terms if a post isn't accessible; so this can to be
a point for to construct 'our' module.

moshe weitzman’s picture

FYI, there are several taxonomy access control module. The drupal association uses TAC Lite module.

alb’s picture

use TAC lite for to do that I posted?
For this:
a group-A(private) and its vocabulary-A will be visible only at its members? At moment only posts are hidden at other groups but vocabulary-A and its terms remain visible. This isn't correct because
if I make a section private would like that all is private (posts but also the name's section:Vocab and Terms)

other:
I am not sure 100% but TAC lite hidden only terms and not also vocabulary.