Page 1 of 1
Permissions for web users [solved for Bookmarks module]
Posted: Mon Aug 08, 2005 9:32 am
by nils73
I have one small problem to solve: I want to grant web users (i.e. with on username to log into admin-mode) the right to submit content to the database by using a webform. Maybe I should say that I am using Bookmark Module to do this and it would be great if there would be a solution to just assign a group that does not require login ... any hints?
Regards,
Nils
Re: Permissions for web users
Posted: Tue Aug 09, 2005 1:53 pm
by nils73
Seems to be a major problem ... but I have started digging into page.functions.php and found quite a lot of things that I would need to solve to have a single user to submit content for Bookmarks without the need to be logged in as a user of CMSMS. I would appreciate a user-role or group that does not require login but can do certain things like submitting content maybe even by assigning user-rights inside CMSMS.
Hm ... difficult.
Regards,
Nils
Re: Permissions for web users
Posted: Tue Aug 09, 2005 2:34 pm
by Ted
Are they submitting data to the Bookmarks module? The way to handle that would be to modify the bookmarks module to have a form on the front end and submit it's own data to it's own tables. That's how the Comments module works.
Or am I missing something?
Re: Permissions for web users
Posted: Tue Aug 09, 2005 3:11 pm
by nils73
I guess it is a little bit different from comments because Bookmarks need to be reviewed before they get published. And they can be published via frontend AND backend, i.e. by authors and admins of CMSMS or simple frontend users without any login. After a look into Bookmarks module I found a function AllowAccess() ... and maybe I only need to disable this function ... but I am not sure.
Regards,
Nils
Re: Permissions for web users [solved for Bookmarks module]
Posted: Fri Aug 12, 2005 10:14 am
by nils73
Finally I managed to find a solution to my problem. The problem was an empty value when executing the INSERT query with SQL. Within this query, if no user was logged in, there was an empty field. I inserted some lines to set the user_id to 0 if no user_id is set. That does the trick.
Regards,
Nils