Fixed a bug that if new triple is a new rule in xml_access table, the new triple wouldn't be added into data set file.
In creating xml_access table, add a condition for assigning a access document to itself: if there is not triple. If there is a triple that access file points itself, we don't need inserting again. Otherwise we will get duplicate records.
Get rid of running parser access documents into rules when it handle a access document. (we only need to parser it when handling a dataset file).
Add code to write the updated acl and dataset document back to database after adding permission rules in acl document.
Add code to insert extral rules found in xml_acces table into access document.
Add a method writing info into log file. So the change information can be kept physically.
Add two new methods to update triples in data set file and delete some access rules which doesn't exist in xml_access document. Change the main method, it will read access file form xml_access table rather than getting from argument.
Add code to update tripes in data set file.
Using ! rather than white space to seperate access rules.
Using ! rather than white space to seperate access rule.
Also available in: Atom