Forum BigDB Access rights for fields

Discussion and help relating to the PlayerIO database solution, BigDB.

Access rights for fields

Postby fudo » March 18th, 2011, 5:41 pm

Hi!
All objects in PlayerObjects table have the same structure. For example:
car = {carModel:..., carScore:..., carModifications:...}
What if I want carModel field to be non-modifiable, carScore field to be modifiable by the server only and carModifications field to be modifiable by the client only?
Do I need to create a special server type for that?
fudo
 
Posts: 14
Joined: August 9th, 2010, 3:14 am

Re: Access rights for fields

Postby Benjaminsen » March 18th, 2011, 8:26 pm

Currently you can't set access modifiers per attribute. For the client-side setup as outlined above you should create 3 separate tables.
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark


Return to BigDB



cron