Insight customizations to Drupal

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Add cockeyed table so I don't lose anything)
(Fill in most of this table)
Line 65: Line 65:
 
|-
 
|-
 
! colspan=6 | aggregator module  
 
! colspan=6 | aggregator module  
| access news feeds || || {{check}} || || ||
 
 
|-
 
|-
| administer news feeds
+
| access news feeds ||  || {{check}} ||  ||  ||
 +
|-
 +
| administer news feeds ||  ||  || {{check}} ||  ||
 
|-
 
|-
 
! colspan=6 | authfas module
 
! colspan=6 | authfas module
 
|-
 
|-
| administer FAS settings
+
| administer FAS settings ||  ||  ||  ||  ||
 
|-
 
|-
 
! colspan=6 | block module  
 
! colspan=6 | block module  
 
|-
 
|-
| administer blocks
+
| administer blocks ||  ||  || {{check }} ||  ||
 
|-
 
|-
| use PHP for block visibility
+
| use PHP for block visibility ||  ||  || {{check}} ||  ||
 
|-
 
|-
 
! colspan=6 | book module
 
! colspan=6 | book module
 
|-
 
|-
| access printer-friendly version
+
| access printer-friendly version ||  || {{check}} ||  ||  ||
 
|-
 
|-
| add content to books
+
| add content to books ||  ||  || {{check}} || {{check}} || {{check}}
 
|-
 
|-
| administer book outlines
+
| administer book outlines ||  ||  || {{check}} || {{check}} || {{check}}
 
|-
 
|-
| create new books
+
| create new books ||  ||  || {{check}} || {{check}} || {{check}}
 
|-
 
|-
 
! colspan=6 | comment module
 
! colspan=6 | comment module
Line 121: Line 122:
 
| administer nodes
 
| administer nodes
 
|-
 
|-
| create book content
+
| create book content ||  ||  || {{check}} || {{check}} || {{check}}
 
|-
 
|-
| create page content
+
| create page content ||  ||  || {{check}} || {{check}} ||
 
|-
 
|-
| create story content
+
| create story content ||  ||  || {{check}} || {{check}} || {{check}}
 
|-
 
|-
| delete any book content
+
| delete any book content ||  ||  || {{check}} || {{check}} ||
 
|-
 
|-
| delete any page content
+
| delete any page content ||  ||  || {{check}} ||  ||
 
|-
 
|-
| delete any story content
+
| delete any story content ||  ||  || {{check}} ||  ||
 
|-
 
|-
| delete own book content
+
| delete own book content ||  ||  || {{check}} || {{check}} || {{check}}
 
|-
 
|-
| delete own page content
+
| delete own page content ||  ||  || {{check}} || {{check}} ||
 
|-
 
|-
| delete own story content
+
| delete own story content ||  ||  || {{check}} || {{check}} || {{check}}
 
|-
 
|-
| delete revisions
+
| delete revisions ||  ||  || {{check}} || {{check}} ||
 
|-
 
|-
| edit any book content
+
| edit any book content ||  ||  || {{check}} || {{check}} ||
 
|-
 
|-
| edit any page content
+
| edit any page content ||  ||  || {{check}} || {{check}} ||
 
|-
 
|-
| edit any story content
+
| edit any story content ||  ||  || {{check}} || {{check}} ||
 
|-
 
|-
| edit own book content
+
| edit own book content ||  ||  || {{check}} || {{check}} || {{check}}
 
|-
 
|-
| edit own page content
+
| edit own page content ||  ||  || {{check}} || {{check}} ||
 
|-
 
|-
| edit own story content
+
| edit own story content ||  ||  || {{check}} || {{check}} || {{check}}
 
|-  
 
|-  
| revert revisions
+
| revert revisions ||  ||  || {{check}} || {{check}} ||
 
|-
 
|-
| view revisions
+
| view revisions ||  ||  || {{check}} || {{check}} || {{check}}
 
|-
 
|-
 
! colspan=6 | system module
 
! colspan=6 | system module
 
|-
 
|-
| access administration pages
+
| access administration pages ||  ||  || {{check}} ||  ||
 
|-
 
|-
| access site reports
+
| access site reports ||  ||  || {{check}} ||  ||
 
|-  
 
|-  
| administer actions
+
| administer actions ||  ||  || {{check}} ||  ||
 
|-
 
|-
| administer files
+
| administer files ||  ||  || {{check}} ||  ||
 
|-  
 
|-  
| administer site configuration
+
| administer site configuration ||  ||  ||  ||  ||
 
|-  
 
|-  
| select different theme
+
| select different theme ||  ||  || {{check}} ||  ||
 
|-
 
|-
 
! colspan=6 | taxonomy module
 
! colspan=6 | taxonomy module
 
|-
 
|-
| administer taxonomy
+
| administer taxonomy ||  ||  || {{check}} || {{check}} ||
 
|-
 
|-
 
! colspan=6 | translation module
 
! colspan=6 | translation module
 
|-
 
|-
| translate content
+
| translate content ||  || {{check}} ||  ||  ||
 
|-
 
|-
 
! colspan=6 | user module
 
! colspan=6 | user module
 
|-
 
|-
| access user profiles
+
| access user profiles ||  ||  || {{check}} ||  ||
 
|-
 
|-
| administer permissions
+
| administer permissions ||  ||  ||  ||  ||
 
|-
 
|-
| administer users
+
| administer users ||  ||  || {{check}} ||  ||
 
|-  
 
|-  
| change own username
+
| change own username ||  ||  ||  ||  ||
 
|}
 
|}
 
</ol>
 
</ol>
  
 
== Reports ==
 
== Reports ==

Revision as of 20:04, 14 August 2010

This page tracks customizations made to a Drupal-based test instance for Fedora Insight.

Note.png
Administrator access
You'll need full access to Drupal uid 1 (the site administrator account) to complete some of these steps.


Contents

General changes

  1. Install the AuthFAS module. The source is found here.
    cd /etc/drupal6/all/modules/
    git clone git://fedorapeople.org/home/fedora/pfrields/public_git/drupal-authfas-6x.git authfas
  2. Install the Insight theme. (This doesn't exist yet, but it will. When it does, fill out this step. --pfrields 19:33, 14 August 2010 (UTC))

Site building

  1. In the Modules configuration module, enable the following modules in the Core - Optional section:
    • Aggregator
    • Book
    • Color
    • Comment
    • Content translation
    • Database logging
    • Help
    • Menu
    • Search
    • Taxonomy
    • Trigger
    • Update status
    Enable the following modules in the Other section:
    • AuthFAS

Site configuration

  1. Configure the AuthFAS module with the following settings. The settings below point the AuthFAS module to a FAS instance on publictest4, and requires that anyone logging in be a member of the cla_done FAS group. Furthermore, it sets up email for each new user at username@fedoraproject.org.
    Location of FAS instance:  publictest4.fedoraproject.org/accounts
    FAS group for authenticated users:  cla_done
    Email domain used for FAS users:  fedoraproject.org
  2. Content management

    User management

    1. In the User settings module, set Public registrations to Only site administrators can create new user accounts.
    2. In the User settings module, disable signature and picture support.
    3. In the FAS instance, create three new groups:
      • cmsadmin
      • cmseditor
      • cmswriter
      In the Drupal instance, create three new roles:
      • administrator
      • editor
      • writer
      Edit each role to hook it to the appropriate FAS group listed above. To grant users more access to help with Drupal, use the FAS system -- not the Drupal instance.
    4. In the Permissions module, set the following permissions:
      Permission anonymous user authenticated user administrator editor writer
      aggregator module
      access news feeds Checkmark.png
      administer news feeds Checkmark.png
      authfas module
      administer FAS settings
      block module
      administer blocks Checkmark.png
      use PHP for block visibility Checkmark.png
      book module
      access printer-friendly version Checkmark.png
      add content to books Checkmark.png Checkmark.png Checkmark.png
      administer book outlines Checkmark.png Checkmark.png Checkmark.png
      create new books Checkmark.png Checkmark.png Checkmark.png
      comment module
      access comments
      administer comments
      post comments
      post comments without approval
      filter module
      administer filters
      locale module
      administer languages
      translate interface
      menu module
      administer menu
      node module
      access content
      administer content types
      administer nodes
      create book content Checkmark.png Checkmark.png Checkmark.png
      create page content Checkmark.png Checkmark.png
      create story content Checkmark.png Checkmark.png Checkmark.png
      delete any book content Checkmark.png Checkmark.png
      delete any page content Checkmark.png
      delete any story content Checkmark.png
      delete own book content Checkmark.png Checkmark.png Checkmark.png
      delete own page content Checkmark.png Checkmark.png
      delete own story content Checkmark.png Checkmark.png Checkmark.png
      delete revisions Checkmark.png Checkmark.png
      edit any book content Checkmark.png Checkmark.png
      edit any page content Checkmark.png Checkmark.png
      edit any story content Checkmark.png Checkmark.png
      edit own book content Checkmark.png Checkmark.png Checkmark.png
      edit own page content Checkmark.png Checkmark.png
      edit own story content Checkmark.png Checkmark.png Checkmark.png
      revert revisions Checkmark.png Checkmark.png
      view revisions Checkmark.png Checkmark.png Checkmark.png
      system module
      access administration pages Checkmark.png
      access site reports Checkmark.png
      administer actions Checkmark.png
      administer files Checkmark.png
      administer site configuration
      select different theme Checkmark.png
      taxonomy module
      administer taxonomy Checkmark.png Checkmark.png
      translation module
      translate content Checkmark.png
      user module
      access user profiles Checkmark.png
      administer permissions
      administer users Checkmark.png
      change own username
    == Reports ==