This file is indexed.

/usr/share/pyshared/schooltool/person/security.zcml is in python-schooltool 1:2.1.0-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?xml version="1.0"?>
<configure xmlns="http://schooltool.org/securitypolicy"
           xmlns:zope="http://namespaces.zope.org/zope">

  <setting
      key="everyone_can_view_person_list"
      text="The list of people with accounts in the system is visible to the general public."
      alt_text="The list of people with accounts in the system is visible only to school administration."
      default="False" />

  <setting
      key="persons_can_set_their_preferences"
      text="Users can make their own calendars public."
      alt_text="Users cannot make their own calendars public."
      default="True" />

  <setting
      key="persons_can_change_their_passwords"
      text="Users can change their own passwords."
      alt_text="Only school administration can change passwords."
      default="True" />

  <crowd
      name="person_list_viewers"
      factory=".person.PersonListViewersCrowd" />

  <crowd
      name="person_prefs_editors"
      factory=".preference.PersonPreferencesEditorsCrowd" />

  <crowd
      name="person_password_writers"
      factory=".person.PasswordWriterCrowd" />

  <allow
      interface="schooltool.person.interfaces.IPersonContainer"
      crowds="administration person_list_viewers"
      permission="schooltool.view" />
  <allow
      interface="schooltool.person.interfaces.IPersonContainer"
      crowds="administration"
      permission="schooltool.edit" />

  <allow
      interface="schooltool.person.interfaces.IPerson"
      crowds="administration owner"
      permission="schooltool.view" />
  <allow
      interface="schooltool.person.interfaces.IPerson"
      crowds="administration"
      permission="schooltool.edit" />
  <allow
      interface="schooltool.person.interfaces.IPerson"
      crowds="owner"
      permission="schooltool.editCalendarOverlays" />

  <allow
      interface="schooltool.person.interfaces.IPersonPreferences"
      crowds="administration owner"
      permission="schooltool.view" /> <!-- XXX -->
  <allow
      interface="schooltool.person.interfaces.IPersonPreferences"
      crowds="administration person_prefs_editors"
      permission="schooltool.edit" />

  <allow
      interface="schooltool.person.interfaces.IPasswordWriter"
      crowds="administration person_password_writers"
      permission="schooltool.edit" />

  <describe_group name="schooltool.person" title="Users" />

  <describe_action
     group="schooltool.person" name="list" title="List/Search"
     order="10"
     interface="schooltool.person.interfaces.IPersonContainer"
     permission="schooltool.view"
  />

  <describe_action
     group="schooltool.person" name="create_delete" title="Create/Delete"
     order="20"
     interface="schooltool.person.interfaces.IPersonContainer"
     permission="schooltool.edit"
  />

  <describe_action
     group="schooltool.person" name="view" title="View"
     order="30"
     interface="schooltool.person.interfaces.IPerson"
     permission="schooltool.view"
  />

  <describe_action
     group="schooltool.person" name="modify" title="Modify"
     order="40"
     interface="schooltool.person.interfaces.IPerson"
     permission="schooltool.edit"
  />

  <describe_action
     group="schooltool.person" name="change_password" title="Change password"
     order="41"
     interface="schooltool.person.interfaces.IPasswordWriter"
     permission="schooltool.edit"
  />

  <describe_action
     group="schooltool.person" name="view_prefs" title="View preferences"
     order="50"
     interface="schooltool.person.interfaces.IPersonPreferences"
     permission="schooltool.view"
  />

  <describe_action
     group="schooltool.person" name="edit_prefs" title="Change preferences"
     order="51"
     interface="schooltool.person.interfaces.IPersonPreferences"
     permission="schooltool.edit"
  />

  <describe_action
     group="schooltool.person" name="view_calendar"
     title="View calendar"
     order="60"
     interface="schooltool.app.interfaces.ISchoolToolCalendar"
     permission="schooltool.view"
  />

  <describe_action
     group="schooltool.person" name="change_calendar"
     title="Change calendar"
     order="70"
     interface="schooltool.app.interfaces.ISchoolToolCalendar"
     permission="schooltool.edit"
  />

  <describe_action
     group="schooltool.person" name="edit_overlays"
     title="Manage visible calendars"
     description="Change the list of calendars overlayed on the user's calendar"
     order="80"
     interface="schooltool.person.interfaces.IPerson"
     permission="schooltool.editCalendarOverlays"
  />

  <describe_crowd
      group="schooltool.person"
      crowd="owner"
      title="User"
      description="The user himself."
      />

  <!-- Parent crowds -->

  <zope:adapter
      factory=".person.PersonCalendarCrowd"
      provides="schooltool.app.interfaces.ICalendarParentCrowd"
      name="schooltool.view" />

  <switch_description
     group="schooltool.person"
     crowd_factory="schooltool.app.security.CalendarViewersCrowd"
     use_crowd_factory=".person.PersonCalendarCrowd"
  />

  <describe_crowd
      group="schooltool.person"
      crowd_factory=".person.PublicCalendarCrowd"
      title="Calendar is public"
      description="Everybody, if the calendar is made public in user preferences."
      />

</configure>