Žymės:
Nesugalvoju kaip angliškai užklausti google's, tad...
Įsivaizduokim situaciją kai yra keletas šimtų story tipo node'ų, o authorized user'is nori visus matyti, kažkuriuos paredaguoti, ištrinti. Super user'is turi tokią galimybę administer->content managment->content.
Su permissions'ais nepavyko sužaisti. Ką galite patarti?


useris turi turi turėti
useris turi turi turėti leidimą "administruoti mazgus" gal per daug turės teisių.
Kitas būdas diegtis modulį su raktiniais žodžiais "node access module", čia jau pagal pačio skonį koks konkretus modulis
tai va va - per daug teisių
tai va va - per daug teisių gauvęs user'is gali tuo pasinaudoti ne taip kaip reikia ;)
teks modulio paieškoti arba pasirašyti
views
Aš tai views tokiam reikalui užnaudojau, labai panašų į content management. Ten atvaizduoja visus node'us kuriuos galima matyti tam useriui, taigi, laisvai apeinama 'administer nodes' tesė.
views exportas jei įdomu:
<?php$view = new view;$view->name = 'content_list';$view->description = 'List of all nodes (filtered)';$view->tag = '';$view->view_php = '';$view->base_table = 'node';$view->is_cacheable = FALSE;$view->api_version = 2;$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */$handler = $view->new_display('default', 'Defaults', 'default');$handler->override_option('fields', array( 'changed' => array( 'label' => 'Updated date', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'date_format' => 'small', 'custom_date_format' => '', 'exclude' => 1, 'id' => 'changed', 'table' => 'node', 'field' => 'changed', 'relationship' => 'none', ), 'title' => array( 'label' => 'Title', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), 'type' => array( 'label' => 'Type', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'exclude' => 0, 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'language' => array( 'label' => 'Language', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'exclude' => 0, 'id' => 'language', 'table' => 'node', 'field' => 'language', 'relationship' => 'none', ), 'edit_node' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'text' => '', 'exclude' => 0, 'id' => 'edit_node', 'table' => 'node', 'field' => 'edit_node', 'relationship' => 'none', ), 'comment_count' => array( 'label' => 'Comment count', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '0', 'hide_empty' => 0, 'empty_zero' => 0, 'set_precision' => FALSE, 'precision' => 0, 'decimal' => '.', 'separator' => ',', 'prefix' => '', 'suffix' => '', 'exclude' => 0, 'id' => 'comment_count', 'table' => 'node_comment_statistics', 'field' => 'comment_count', 'relationship' => 'none', ),));$handler->override_option('filters', array( 'title' => array( 'operator' => 'contains', 'value' => '', 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'title_op', 'identifier' => 'title', 'label' => 'Title', 'optional' => 1, 'remember' => 0, ), 'case' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), 'type' => array( 'operator' => 'in', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'type_op', 'identifier' => 'type', 'label' => 'Type', 'optional' => 1, 'single' => 1, 'remember' => 0, 'reduce' => 0, ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'language' => array( 'operator' => 'in', 'value' => array(), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'language_op', 'identifier' => 'language', 'label' => 'Language', 'optional' => 1, 'single' => 1, 'remember' => 0, 'reduce' => 0, ), 'id' => 'language', 'table' => 'node', 'field' => 'language', 'relationship' => 'none', ),));$handler->override_option('access', array( 'type' => 'none',));$handler->override_option('cache', array( 'type' => 'none',));$handler->override_option('items_per_page', 50);$handler->override_option('use_pager', '1');$handler->override_option('style_plugin', 'table');$handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 0, 'order' => 'asc', 'columns' => array( 'changed' => 'changed', 'title' => 'title', 'type' => 'type', 'status' => 'status', 'language' => 'language', 'edit_node' => 'edit_node', 'comment_count' => 'comment_count', ), 'info' => array( 'changed' => array( 'sortable' => 0, 'separator' => '', ), 'title' => array( 'sortable' => 1, 'separator' => '', ), 'type' => array( 'sortable' => 1, 'separator' => '', ), 'status' => array( 'sortable' => 1, 'separator' => '', ), 'language' => array( 'sortable' => 1, 'separator' => '', ), 'edit_node' => array( 'separator' => '', ), 'comment_count' => array( 'sortable' => 1, 'separator' => '', ), ), 'default' => 'changed',));$handler = $view->new_display('page', 'Page', 'page_1');$handler->override_option('path', 'content-list');$handler->override_option('menu', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation',));$handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0,));?>Tik čia su multilanguage, tai nežinau kaip importuojasi jei tokiu puslapyje nėra.
dekoju. pasibandysim ir su
dekoju.
pasibandysim ir su views'ais