FatFractal customer forums



Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - rick@rickaustin.net

Pages: [1]
1
NoServer Questions and Answers / FFUser and Additional Fields
« on: November 30, 2013, 10:08:02 PM »
Is it possible to add fields to the standard FFUser collection or is it recommended that we create a table for additional user attributes that we tie to the users guid?

I want to save address information and probably other attributes and just want to make sure I'm thinking about this correctly.

2
NoServer Questions and Answers / Delete Issue
« on: November 18, 2013, 05:17:47 PM »
I am starting to build an iOS app on top your wonderful platform and I have a problem trying to delete an object.

I have a collection called Wants and I'm able to add items to this collection with no issue. I *think* I am set up, my application.ffdl PERMIT statement is below, so that a creator of an object is able to delete the object but when I attempt to delete an object I get a 403 error code which is a permission problem. I'm guessing I have an issue with my permissions but it is not clear to me what I need to do. The code I'm using to delete is:

    // Remove the row from data model
    [_wantsArray removeObjectAtIndex:indexPath.row];
    ThingIWant *want = [_wantsArray objectAtIndex:indexPath.row];
    FatFractal *ff = [FatFractal main];
    NSError *err;
    [ff deleteObj:want error:&err];
    if(err)
        NSLog(@"Error on delete");
    else
        [self.tableView reloadData];

The _wantsArray contains the same object type that I had stored and it is populated by reading from the Wants collection. I then request the item to be deleted using deleteObj: but this is when I get the 403 error.

My PERMIT statement is below:

#
# Permissions
#
PERMIT read:creator write:creator ON /Wants

Pages: [1]
Copyright © FatFractal customer forums