TAC

Events happening in the community are now at Drupal community events on www.drupal.org.

Proposal for a module: TAC fields

Posted by xjm on October 7, 2009 at 7:38pm

I'm considering developing a module to extend the functionality of TAC to role/field combinations. TAC works wonderfully for controlling access to whole nodes based on their taxonomy, but it's all-or-nothing; the module currently has no way of leveraging the per-field access control offered by Content Permissions.

I don't think the functionality belongs in TAC itself, as my proposed module is an additional layer of complexity that's specific to CCK content types.

Read more
3 comments Categories: , , ,

Using Execute PHP to set Permissions in TAC

Posted by Levi DeHaan on July 30, 2009 at 4:44pm


require_once(drupal_get_path('module', 'taxonomy_access') . "/taxonomy_access_admin.inc");

function tgtbn($name) {
$db_result = db_query(db_rewrite_sql("SELECT t.tid, t.* FROM {term_data} t WHERE LOWER(t.name) = LOWER('%s')", 't', 'tid'), trim($name));
$result = array();
while ($term = db_fetch_array($db_result)) {
$result[] = $term;
}

return $result;
}

$srch_name = "".$author->name."-".$node->title."";

$roles = _user_roles();
$role_id = array_search($srch_name, $roles);

if(!is_numeric($role_id)){echo "role id is not a number";}

Read more
3 comments Categories: ,

Comprehensive list of Content access modules and how to enable them to work together

Posted by socialnicheguru on March 20, 2009 at 2:43pm

I created a list of content permission modules that I have encountered with their weights on my system.

  1. Can we create a comprehensive list?
  2. How can they work together or should they. From your experience, what has been the worst and best combinations ?
  3. what effect does module weight have on implementation of access? is it true that if access is already granted, it will not be restricted by another module that comes into play later?

Weight/ Name/ Version/ Brief description

0 Content Permissions 6.x-2.x-dev Set field-level permissions for CCK fields.
(admin determines)

Read more

TAC and Views RSS

Posted by KeyboardCowboy on February 23, 2009 at 7:14pm

I have a situation to which I have developed a couple of solutions. However, colleagues believe that we are still missing something. I could use any input the community can share.

Plaftform: Drupal 5.14

Data Structure
- We have a large amount of published nodes in the form of news articles, reports, etc.

  • Registered users purchase subscriptions and are given access to view the full body of certain nodes depending on what they have subscribed to. This is controlled through TAC.
Read more
Categories: , , ,
Subscribe with RSS Syndicate content

AltStyle によって変換されたページ (->オリジナル) /