You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by di...@the-ecorp.com on 2001/05/08 16:25:29 UTC

[PATCH] JDBCDescriptorsStore.revokePermission doesn't delete non- inheritable permissions (and FileDescriptorsStoreNoVersioning error)

Included you will find a patch and my original mail with a full description
of the error,
please review it very carefully...

The memory store is correct because the vector uses the equals method of
NodePermission and that method only checks on object, subject and action;
not on inheritable.

In the FileDescriptorsStoreNoVersioning there is also a bug I think.
(currentPermission != permission) should be replaced by
(!currentPermission.equals(permission))


Dirk