[Building Sakai] Can't find user when grant ability

wendy lee lhh at mail.sysu.edu.cn
Sun Nov 27 17:55:02 PST 2011


Hi Raad,
 
According to your solution admin users can be added and the user exists by "View user info". Thank you.

I want to add admin users without adding them to the Administrative Workspace site according to https://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Configuring+Sakai+from+within+the+Web+Application 

Create a new user following the first 5 steps above. 
Under the "Administration Workspace" site, open the "Realms" tool. 
Enter "/site/!admin" in the search field and hit the "Search" link. 
Click the "/site/!admin" link that appears in the list of results. 
Click the "Grant Ability" link at the top of the screen that appears. 
Enter the id of the user created above in the "User Id:" text box, select the "admin" role, then click "Done". 

I can find users before but not now. Can't find any user even "admin" in step 6.
I added users with userDirectoryService.addUser and deleted users with "Users" then "Remove User". I believe that there is something wrong with database tables. Shall I restore database?




  
wendy lee

From: Raad Al-Rawi
Date: 2011-11-25 22:37
To: wendy lee; sakai-dev
Subject: RE: [Building Sakai] Can't find user when grant ability
Hi Wendy

You probably want to check the user exists, and you can give someone access to the !admin workspace by going to the !admin site, then the "Site Info" tool, then use "Add participants".
You can check if the user exists by going to the "Become User" tool, then putting the user's userid in the box and clicking "View user info" (there are other ways, but this is my preferred way).

Hope that helps

Raad

> -----Original Message-----
> From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-
> bounces at collab.sakaiproject.org] On Behalf Of wendy lee
> Sent: 25 November 2011 03:47
> To: sakai-dev
> Subject: [Building Sakai] Can't find user when grant ability
> 
> hi, all
> 
> I want to grant admin role to someone. So I edit realm "/site/!admin" and
> click "Grant Ability". Yet I can't find my user inside the "Set the Role for this
> User" page (!admin-355).
> I am sure the user exists and I had successfully granted roles to somebody
> else before. I try to edit other realms and can't find users too. Nothing
> reports in tomcat log. I want to debug sakai.realm codes, but I am not sure
> where the code is. Can you help me?
> 
> --------------
>  wendy lee
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-
> unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111128/3a2cd215/attachment.html 


More information about the sakai-dev mailing list