You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to structr
Is it possible to create the default user as an admin? I used a create form for creating user names and passwords and other entries. But confused with setting isAdmin field as True. Thanks -sumegh
Lukas Reich
unread,
Mar 27, 2017, 4:21:31 AM3/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to structr
Hi,
you could write an onCreate schema mehtod for the type user and set the isAdmin flag there. However, depending on the kind of your application I wouldn'd recommend doing this. As an admin user you have access to everything and can even revoke admin rights from others so this can be very dangerous.
Best regards,
Lukas Reich
Sumegh P
unread,
Mar 27, 2017, 7:36:14 AM3/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to structr
Yes, that is risky. But thats it I was looking for, for building server app n provide backend access to the users. Thanks :) -sumegh