FatFractal customer forums



Author Topic: Create permission  (Read 1704 times)

erka

  • Newbie
  • *
  • Posts: 29
    • View Profile
Create permission
« on: December 29, 2014, 10:52:00 AM »
I want to only allow the system to create new objects to a collection (through extensions).

I tried:
Code: [Select]
PERMIT create:none read:public write:none ON /Photo
But it still lets me create objects from the client (Android):
Code: [Select]
ff.createObjAtUri(photo, "/Photo");

gkc

  • Administrator
  • *****
  • Posts: 375
    • View Profile
Re: Create permission
« Reply #1 on: December 29, 2014, 11:00:53 AM »
Use this
Code: [Select]
PERMIT create:system.admins read:public write:none ON /Photo

erka

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Create permission
« Reply #2 on: December 29, 2014, 11:07:08 AM »
That worked, thank you!

 

Copyright © FatFractal customer forums