Trouble with Permissions on programmatically created user
Permalink
Hey there folks!
I've made a custom login which checks if the user exists, if not it creates a new user and logs the user in right after that.
The user gets added to a group which has only reading permissions on the entire site.
Problem:
All system files won't load, concrete5 won't load any JS nor CSS. Some Blocks i can see and some blocks i can't see, although the permissions for "See Block" are set for that group.
Weirdest thing is that all system javascript&css won't get loaded, it only works if i give the permission "Look at versions", then everything gets loaded properly. But i would like to restrict the permissions for this Group, they should be only able to read published versions of pages.
Anyone can help? :)
Much thanks in advance.
I've made a custom login which checks if the user exists, if not it creates a new user and logs the user in right after that.
The user gets added to a group which has only reading permissions on the entire site.
Problem:
All system files won't load, concrete5 won't load any JS nor CSS. Some Blocks i can see and some blocks i can't see, although the permissions for "See Block" are set for that group.
Weirdest thing is that all system javascript&css won't get loaded, it only works if i give the permission "Look at versions", then everything gets loaded properly. But i would like to restrict the permissions for this Group, they should be only able to read published versions of pages.
Anyone can help? :)
Much thanks in advance.