177 |
177 |
178 // evalutate all ACLs |
178 // evalutate all ACLs |
179 ACLList *acl = acl_evallist(list, user, access_mask, NULL); |
179 ACLList *acl = acl_evallist(list, user, access_mask, NULL); |
180 if(acl) { |
180 if(acl) { |
181 acl_set_error_status(sn, rq, acl, user); |
181 acl_set_error_status(sn, rq, acl, user); |
182 // TODO: don't free the user here |
182 // TODO: don't free the user here #51 |
183 if(user) { |
183 if(user) { |
184 user->free(user); |
184 user->free(user); |
185 } |
185 } |
186 return REQ_ABORTED; |
186 return REQ_ABORTED; |
187 } |
187 } |