I am adding general comments to file-storage in dotLRN for SloanSpace. I ran into a issue with permissions.
General comments grants registered users general-comments-create privilege. However, dotLRN communities don't inherit from main site so users were not getting permission to create general comments.
The fix I came up with was a dotlrn-general-comments-config.sql file that makes general-comment-create a child or read because I want user to be able to comment on any file they can read.
Do people have suggestions for other approaches?
--Allows users to use general comments on anything they have read access on.
--This is necessary because most of dotLRN does not inherit from main-site where
--general_comments_create given to registered users.
begin
acs_privilege.add_child('read','general_comments_create');
end;
/
show errors
Request notifications