Skip to content
Snippets Groups Projects
Commit ea713c05 authored by srosse's avatar srosse
Browse files

OO-252: filter the resource with an access code = 0 in the "My resources" list

parent 88b4bf05
No related branches found
No related tags found
No related merge requests found
......@@ -780,7 +780,7 @@ public class RepositoryManager extends BasicManager {
StringBuffer query = new StringBuffer(400);
query.append("select v from" + " org.olat.repository.RepositoryEntry v inner join fetch v.olatResource as res,"
+ " org.olat.basesecurity.SecurityGroupMembershipImpl as sgmsi" + " where " + " v.ownerGroup = sgmsi.securityGroup and"
+ " sgmsi.identity = :identity");
+ " sgmsi.identity = :identity and v.access>0");
if (limitTypes != null && limitTypes.length > 0) {
for (int i = 0; i < limitTypes.length; i++) {
String limitType = limitTypes[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment