Ignore:
Timestamp:
19 Jul 2006, 07:36:02 (18 years ago)
Author:
joachim
Message:

added roles and permissions
certificate_course fields removed from layout

Location:
WAeUP_SRP/trunk/profiles/default
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/certificate_course.xml

    r256 r348  
    2626  <property name="label_edit">Certificate code</property>
    2727  <property name="readonly_layout_modes"/>
    28   <property name="hidden_layout_modes"/>
     28  <property name="hidden_layout_modes">
     29   <element value="edit"/>
     30  </property>
    2931  <property name="hidden_readonly_layout_modes"/>
    3032 </widget>
     
    3739  <property name="label_edit">Certificate original code</property>
    3840  <property name="readonly_layout_modes"/>
    39   <property name="hidden_layout_modes"/>
     41  <property name="hidden_layout_modes">
     42   <element value="edit"/>
     43  </property>
    4044  <property name="hidden_readonly_layout_modes"/>
    4145 </widget>
    4246 <widget name="code" meta_type="String Widget">
    43   <property name="title">Code</property>
     47  <property name="title">Course Code</property>
    4448  <property name="fields">
    4549   <element value="code"/>
    4650  </property>
    4751  <property name="is_required">True</property>
    48   <property name="label">Code</property>
    49   <property name="label_edit">Code</property>
     52  <property name="label">Course Code</property>
     53  <property name="label_edit">Course Code</property>
     54  <property name="readonly_layout_modes"/>
     55  <property name="hidden_layout_modes"/>
     56  <property name="hidden_readonly_layout_modes"/>
    5057  <property name="display_width">10</property>
    5158 </widget>
     
    7683   <cell name="core_or_elective"/>
    7784  </row>
    78   <row>
    79    <cell name="admin_status"/>
    80   </row>
    8185 </table>
    8286</object>
  • WAeUP_SRP/trunk/profiles/default/layouts/waeup_common.xml

    r199 r348  
    77 <property name="flexible_widgets"/>
    88 <property name="validate_values_expr"></property>
    9  <widget name="Description" meta_type="Text Widget">
    10   <property name="fields">
    11    <element value="Description"/>
    12   </property>
    13   <property name="label">Description</property>
    14   <property name="label_edit">Description</property>
    15   <property name="is_i18n">True</property>
    16   <property name="hidden_layout_modes"/>
    17   <property name="css_class">description</property>
    18   <property name="width">72</property>
    19  </widget>
    209 <widget name="Title" meta_type="String Widget">
    2110  <property name="fields">
     
    2514  <property name="label">Title</property>
    2615  <property name="label_edit">Title</property>
     16  <property name="readonly_layout_modes"/>
     17  <property name="hidden_layout_modes">
     18   <element value="view"/>
     19  </property>
     20  <property name="hidden_readonly_layout_modes"/>
    2721  <property name="display_width">40</property>
    2822  <property name="size_max">200</property>
     
    3226   <cell name="Title"/>
    3327  </row>
    34   <row>
    35    <cell name="Description"/>
    36   </row>
    3728 </table>
    3829</object>
  • WAeUP_SRP/trunk/profiles/default/rolemap.xml

    r326 r348  
    22<rolemap>
    33  <roles>
    4     <role name="CourseAdvisor"/>
    5     <role name="Lecturer"/>
    6     <role name="Student"/>
     4    <role name="SectionReader"/>
     5    <role name="SectionManager"/>
    76  </roles>
    87  <permissions>
     8    <permission name="List folder contents" acquire="True">
     9      <role name="SectionManager"/>
     10      <role name="SectionReader"/>
     11    </permission>
    912    <permission name="Add portal content" acquire="True">
    10       <role name="Student"/>
     13      <role name="SectionManager"/>
    1114    </permission>
    1215    <permission name="Add portal folders" acquire="True">
    13       <role name="Student"/>
     16      <role name="SectionManager"/>
    1417    </permission>
    1518    <permission name="Delete objects" acquire="True">
    16       <role name="Manager"/>
     19      <role name="SectionManager"/>
     20    </permission>
     21    <permission name="Change subobjects order" acquire="True">
     22      <role name="SectionManager"/>
     23    </permission>
     24    <permission name="Manage properties" acquire="True">
     25      <role name="SectionManager"/>
     26    </permission>
     27    <permission name="List portal members" acquire="True">
     28      <role name="Member"/>
     29      <role name="SectionManager"/>
     30    </permission>
     31    <permission name="Review portal content" acquire="True">
     32      <role name="Reviewer"/>
     33      <role name="SectionManager"/>
     34    </permission>
     35    <permission name="Modify portal content" acquire="True">
     36      <role name="SectionManager"/>
     37    </permission>
     38    <permission name="Set own password" acquire="True">
     39      <role name="Member"/>
     40      <role name="SectionManager"/>
     41    </permission>
     42    <permission name="Undo changes" acquire="False">
     43      <role name="SectionManager"/>
    1744    </permission>
    1845  </permissions>
  • WAeUP_SRP/trunk/profiles/default/types/Certificate.xml

    r329 r348  
    3333 <property name="cps_is_portlet">False</property>
    3434 <alias from="(Default)" to="academics_contents"/>
     35 <alias from="created" to="level_created"/>
    3536 <alias from="view" to="academics_contents"/>
    3637 <action title="View" action_id="view" category="object" condition_expr=""
  • WAeUP_SRP/trunk/profiles/default/types/Semester.xml

    r332 r348  
    5656 <action title="Add Course" action_id="new_entry" category="object"
    5757    condition_expr=""
    58     url_expr="string:${object_url}/content_create?type_name=Course"
     58    url_expr="string:${object_url}/content_create?type_name=CertificateCourse"
    5959    visible="True"/>
    6060</object>
  • WAeUP_SRP/trunk/profiles/default/types/StudyLevel.xml

    r332 r348  
    2222  <element value="common"/>
    2323 </property>
    24  <property name="layouts"/>
     24 <property name="layouts">
     25  <element value="waeup_common"/>
     26 </property>
    2527 <property name="layout_clusters">
    2628  <element value="metadata:metadata"/>
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_base_wf/definition.xml

    r300 r348  
    2121   <permission-role>Manager</permission-role>
    2222   <permission-role>SectionManager</permission-role>
    23    <permission-role>SectionReviewer</permission-role>
    2423   <permission-role>SectionReader</permission-role>
    2524  </permission-map>
     
    3231  <guard>
    3332   <guard-role>Manager</guard-role>
     33   <guard-role>SectionManager</guard-role>
    3434  </guard>
    3535 </transition>
     
    4141   <guard-role>Manager</guard-role>
    4242   <guard-role>SectionManager</guard-role>
    43    <guard-role>Contributor</guard-role>
    4443  </guard>
    4544  <transition-behavior behavior_id="initial-create"/>
     
    5251   <guard-role>Manager</guard-role>
    5352   <guard-role>SectionManager</guard-role>
    54    <guard-role>SectionReviewer</guard-role>
    55    <guard-role>SectionReader</guard-role>
    56    <guard-role>Contributor</guard-role>
    5753  </guard>
    5854  <transition-behavior behavior_id="allow-sub-create"/>
     
    6662   <guard-role>Manager</guard-role>
    6763   <guard-role>SectionManager</guard-role>
    68    <guard-role>SectionReviewer</guard-role>
    69    <guard-role>SectionReader</guard-role>
    7064  </guard>
    7165  <transition-behavior behavior_id="allow-sub-move"/>
Note: See TracChangeset for help on using the changeset viewer.