From Fedora Project Wiki

(Created page with 'This page tracks customizations made to a Drupal-based test instance for Fedora Insight. {{admon/note | Administrator access | You'll need full access to Drupal uid 1 (the s...')
 
(Add cockeyed table so I don't lose anything)
Line 2: Line 2:


{{admon/note | Administrator access | You'll need full access to Drupal uid 1 (the site administrator account) to complete some of these steps.}}
{{admon/note | Administrator access | You'll need full access to Drupal uid 1 (the site administrator account) to complete some of these steps.}}


== General changes ==
== General changes ==
Line 17: Line 18:


<ol>
<ol>
<li>In the ''Modules'' configuration, enable the following modules in the ''Core - Optional'' section:
<li>In the ''Modules'' configuration module, enable the following modules in the ''Core - Optional'' section:
* Aggregator
* Book
* Book
* Color
* Comment
* Content translation
* Content translation
* Database logging
* Help
* Menu
* Search
* Search
* Taxonomy
* Trigger
* Update status
Enable the following modules in the ''Other'' section:
Enable the following modules in the ''Other'' section:
* AuthFAS
* AuthFAS
Line 28: Line 38:


<ol>
<ol>
<li>Configure the AuthFAS module with the following settings.  This points the AuthFAS module to the FakeFAS 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''.
<li>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''.
<pre>Location of FAS instance:  publictest4.fedoraproject.org/accounts
<pre>Location of FAS instance:  publictest4.fedoraproject.org/accounts
FAS group for authenticated users:  cla_done
FAS group for authenticated users:  cla_done
Line 38: Line 48:
== User management ==
== User management ==


 
<ol>
<li>In the ''User settings'' module, set ''Public registrations'' to ''Only site administrators can create new user accounts.''</li>
<li>In the ''User settings'' module, disable signature and picture support.</li>
<li>In the FAS instance, create three new groups:
* cmsadmin
* cmseditor
* cmswriter</li>
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.</li>
<li>In the ''Permissions'' module, set the following permissions:
{|
! Permission !! anonymous user !! authenticated user !! administrator !! editor !! writer
|-
! colspan=6 | aggregator module
| access news feeds || || {{check}} || || ||
|-
| administer news feeds
|-
! colspan=6 | authfas module
|-
| administer FAS settings
|-
! colspan=6 | block module
|-
| administer blocks
|-
| use PHP for block visibility
|-
! colspan=6 | book module
|-
| access printer-friendly version
|-
| add content to books
|-
| administer book outlines
|-
| create new books
|-
! colspan=6 | comment module
|-
| access comments
|-
| administer comments
|-
| post comments
|-
| post comments without approval
|-
! colspan=6 | filter module
|-
| administer filters
|-
! colspan=6 | locale module
|-
| administer languages
|-
| translate interface
|-
! colspan=6 | menu module
|-
| administer menu
|-
! colspan=6 | node module
|-
| access content
|-
| administer content types
|-
| administer nodes
|-
| create book content
|-
| create page content
|-
| create story content
|-
| delete any book content
|-
| delete any page content
|-
| delete any story content
|-
| delete own book content
|-
| delete own page content
|-
| delete own story content
|-
| delete revisions
|-
| edit any book content
|-
| edit any page content
|-
| edit any story content
|-
| edit own book content
|-
| edit own page content
|-
| edit own story content
|-
| revert revisions
|-
| view revisions
|-
! colspan=6 | system module
|-
| access administration pages
|-
| access site reports
|-
| administer actions
|-
| administer files
|-
| administer site configuration
|-
| select different theme
|-
! colspan=6 | taxonomy module
|-
| administer taxonomy
|-
! colspan=6 | translation module
|-
| translate content
|-
! colspan=6 | user module
|-
| access user profiles
|-
| administer permissions
|-
| administer users
|-
| change own username
|}
</ol>


== Reports ==
== Reports ==

Revision as of 19:53, 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.


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
      authfas module
      administer FAS settings
      block module
      administer blocks
      use PHP for block visibility
      book module
      access printer-friendly version
      add content to books
      administer book outlines
      create new books
      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
      create page content
      create story content
      delete any book content
      delete any page content
      delete any story content
      delete own book content
      delete own page content
      delete own story content
      delete revisions
      edit any book content
      edit any page content
      edit any story content
      edit own book content
      edit own page content
      edit own story content
      revert revisions
      view revisions
      system module
      access administration pages
      access site reports
      administer actions
      administer files
      administer site configuration
      select different theme
      taxonomy module
      administer taxonomy
      translation module
      translate content
      user module
      access user profiles
      administer permissions
      administer users
      change own username

    Reports