permission errors

A place for users and developers of the Xataface to discuss and receive support.

permission errors

Postby vjxataface » Mon Nov 14, 2011 2:12 am

During incorporating permissions to my xataface website, as detailed in getting started guide
Home > Documentation > tutorial > Getting Started with Xataface > Permissions

i am getting following error

Fatal error: The role '' is not a registered role. in D:\xampp\htdocs\bhiwadi1\xataface\Dataface\PermissionsTool.php on line 558
vjxataface
 
Posts: 2
Joined: Mon Nov 14, 2011 2:02 am

Re: permission errors

Postby shannah » Mon Nov 14, 2011 10:44 am

Looks like you are calling getRolePermissions() with an empty role. Without seeing your source it's hard to comment further.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: permission errors

Postby vjxataface » Tue Nov 15, 2011 1:34 am

project folder & database file attached for refrence
kindly rectify the permission issue
Attachments
bhiwadi2.zip
(146.93 KiB) Downloaded 166 times
vjxataface
 
Posts: 2
Joined: Mon Nov 14, 2011 2:02 am

Re: permission errors

Postby shannah » Tue Nov 15, 2011 10:30 am

By "source", I mean the delegate class. Specifically any getPermissions() implementations you have added.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 22 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved