|
There were a couple problems found: (1) default permissions were not correctly set in an upgrade; (2) older 2.4 permissions were not upgraded to 2.5.
Fix: (1) modified upgrade script to correctly set default osp permissions (2) change code to look for old 2.4 permissions by default. This is benign if there is no upgrade, and can be disabled in sakai.properties by setting osp.upgrade25=false (though this is not recommended prior to upgrading to 2.5 for the first time). ** This fix is highly recommended for all OSP installations ** Please merge into 2.5.x merged into 2-5-x with r43716.
As a non-OSP user for our Sakai 2.4, I just tried a 2.5.x upgrade deployment and ran into the warnings from updates related to this JIRA:
[This was first brought up by Stephen Marquard on sakai-dev: http://www.nabble.com/Odd-2-5-x-metaobj---osp-errors-on-startup-td16358147.html] WARN: Unable to find user: /site/c8f56c54-23ed-4f87-00c1-6f5d1463cb5e/Student org.sakaiproject.exception.IdUnusedException id=/site/c8f56c54-23ed-4f87-00c1-6f5d1463cb5e (2008-03-28 19:04:28,688 main_org.sakaiproject.metaobj.security.impl.sakai.AgentManager) WARN: Unable to find user: /site/fec90b08-e254-46c1-8003-3ab9045abc03/Student org.sakaiproject.exception.IdUnusedException id=/site/fec90b08-e254-46c1-8003-3ab9045abc03 (2008-03-28 19:04:28,779 main_org.sakaiproject.metaobj.security.impl.sakai.AgentManager) WARN: Unable to find user: /site/837b2be9-09dd-4302-80c7-ee7cc6772aab/Instructor (2008-03-28 19:04:29,189 Though warnings are generally benign, for some reason, these warnings prevented my Sakai 2.5.x instance from deploying. I had to turn it off in sakai.properties (via osp.upgrade25=false) before the deployment was successful. So if there is some time, can someone make sure that this upgrade script plays nicely for those installations that did not use OSP prior to Sakai 2.5? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Role: CIG Coordinator
Wizard: publish delete, create, edit, review, evaluate, view, export
Portfolio: delete, comment, create
Matrix: create, edit, delete, publish, export, review, evaluate
Styles: global publish, publish, delete, create, edit, suggest global publish
Portfolio Layouts: publish, delete, create, edit, suggest global publish
Portfolio Templates: copy, publish, delete, create, edit, export
Glossary: delete, add, edit, export
Evaluations: evaluate, view owner
Reports: create, run, view, edit, delete, share
Forms: create, edit, delete, publiish, suggest.global.publish
Role: CIG Participant
Wizard: view
Portfolio: create, comment
Matrix: use
Styles: create
[? does this make sense? Evaluator & Reviewer cannot]
Portfolio Layouts: delete, create, edit
[? does this make sense? Evaluator & Reviewer cannot]
Portfolio Templates:
Glossary:
Evaluations:
Reports:
Forms:
Role: Evaluator
Wizard: evaluate, view
Portfolio: comment
Matrix: evaluate
Styles:
Portfolio Layouts:
Portfolio Templates:
Glossary:
Evaluations: evaluate, view owner
Reports: run, view
Forms:
Role: Reviewer
Wizard: publish delete, create, edit, review, evaluate, view, export
Portfolio: delete, comment, create
Matrix: use, create, edit, delete, publish, export, review, evaluate
Styles:
Portfolio Layouts:
Portfolio Templates:
Glossary:
Evaluations:
Reports: run, view
Forms:
Role: Program Admin
[ same as CIG Coordinator ]
Role: Program Coordinator
[ same as CIG Coordinator ]
Role: Instructor
[ same as CIG Coordinator ]
Role: Teaching Assistant
Wizard: view
Portfolio: comment, create
Matrix: use
Styles: create
Portfolio Layouts: delete, create, edit
Portfolio Templates:
Glossary:
Evaluations:
Reports: run, view, share
Forms:
Role: Student
[ same as CIG Partipant ]
Role: access
[ same as CIG Partipant ]
Role: maintain
[ same as CIG Coordinator ]
Role: admin
[ same as CIG Coordinator ]