From: Marc Van Herck <marc.vanherck@li...> - 2003-05-21 15:12:04
1. When editing an authorization policy for a collection, if one clicks
cancel, the policy is deleted.
2. After the upgrade to 1.1 only Administrator members could submit items,
everyone else was refused, even if they were member of a group with "ADD"
rights for the collection. I had to make this change in code in order to
solve the problem:
static Item create(Context context)
throws SQLException, AuthorizeException
TableRow row = DatabaseManager.create(context, "item");
Item i = new Item(context, row);
// Call update to give the item a last modified date. OK this isn't
// amazingly efficient but creates don't happen that often.
i.update() checks for WRITE authorization and failes.
There is allready checked for ADD authorization (for the collection) before,
so I added the "context.setIgnoreAuthorization(true)" and
I would like to know if I'm the only one with this problem. Maybe it's
related to my code changes for LDAP authentication or something I messed up
Marc Van Herck