permission errors

Archived from the Xataface Users forum.

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


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.


vjxataface — Tue Nov 15, 2011 1:34 am

project folder & database file attached for refrence
kindly rectify the permission issue


shannah — Tue Nov 15, 2011 10:30 am

By “source”, I mean the delegate class. Specifically any getPermissions() implementations you have added.