Changeset 509
- Timestamp:
- 05/12/08 15:10:17 (5 years ago)
- Location:
- profileaccessmatrix
- Files:
-
- 1 added
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
profileaccessmatrix/eventlistener.xml
r507 r509 14 14 <listenerclassfile>lib/system/event/listener/ProfileAccessMatrixUserSearchFormListener.class.php</listenerclassfile> 15 15 </eventlistener> 16 <eventlistener> 17 <eventclassname>MembersListPage</eventclassname> 18 <eventname>readData</eventname> 19 <inherit>1</inherit> 20 <listenerclassfile>lib/system/event/listener/ProfileAccessMatrixMembersListPageListener.class.php</listenerclassfile> 21 </eventlistener> 16 22 </import> 17 23 </data> -
profileaccessmatrix/files/lib/system/event/listener/ProfileAccessMatrixUserSearchFormListener.class.php
r507 r509 84 84 85 85 $matrix = WCF::getCache()->get('profileaccessmatrix'); 86 86 $check = $this->accessibleGroups($matrix); 87 87 88 foreach ($this->eventObj->activeOptions as $name => $option) { 88 89 if(isset($this->eventObj->values[$option['optionName']])) { 89 $value = $this->eventObj->values[$option['optionName']]; 90 $check = $this->accessibleGroups($matrix, $option['optionID']); 90 $value = $this->eventObj->values[$option['optionName']]; 91 91 $condition = $this->getTypeObject($option['optionType'])->getCondition($option, $value, isset($this->matchExactly[$name])); 92 92 if ($condition !== false) { -
profileaccessmatrix/package.xml
r507 r509 6 6 <packagedescription>Admin can grant permissions to view the profile of specific usergroups for each usergroup.</packagedescription> 7 7 <packagedescription language="de">Der Administrator kann die Sichtbarkeit der Profile in einer Rechte-ÂMatrix fÃŒr jede Benutzergruppe so einstellen, wie eine andere Benutzergruppen lesend Zugriff hat.</packagedescription> 8 <version>1. 0.0</version>8 <version>1.1.0</version> 9 9 <plugin>com.woltlab.wcf</plugin> 10 10 <isunique>1</isunique> … … 33 33 </instructions> 34 34 35 <instructions type="update" fromversion=" 0.0.1">35 <instructions type="update" fromversion="1.0.0"> 36 36 <files>files.tar</files> 37 <eventlistener>eventlistener.xml</eventlistener> 37 38 </instructions> 38 39 </package>
