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
Permissions for web users [solved for Bookmarks module]
Permissions for web users [solved for Bookmarks module]
Last edited by nils73 on Fri Aug 12, 2005 10:11 am, edited 1 time in total.
Re: Permissions for web users
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
Hm ... difficult.
Regards,
Nils
Re: Permissions for web users
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?
Or am I missing something?
Re: Permissions for web users
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
Regards,
Nils
Re: Permissions for web users [solved for Bookmarks module]
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
Regards,
Nils

