Guest
19 Sep 2012 12:03

I want to tie a user to a record created by my Cobalt application. This is a directory app and I want users to be able to edit their page only. In the Emerald documentation it shows an example of {JCSBOT USER=234} to restrict who can view a record, is similar logic to determine if a user can edit a page? I have purchased both Emerald 8 and Cobalt 7.

Thanks for the help.

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
19 Sep 2012 20:19

When you create content type there is whole slider of parameters to tie with Emerald. You can even restrict display of listing if author subscription has expired.


Guest
20 Sep 2012 09:48

Yes, I have been using this slider. However in this particular case I have many users. I want to each user to be able to edit 1 particular record. All of the records are in the same category. Is this possible?

Thanks again.


Sergey
Total posts: 13,748
21 Sep 2012 06:44

DO you mean just one record create by someone else oк by this particular user?

I think it is possible if you will make user the author of the record. Then without any emirald they will be able to edit their articles.


Guest
21 Sep 2012 09:51

Yes, the record would be created by someone else, and they would grant a person access to edit the record. I think that making them the author could do the trick.

When I edit the record and go to Special Fields->Select Author I get the message 'You do not have permissions to access this page.' However I am logged in a Super Admin. Where can I change the permissions for this?


Sergey
Total posts: 13,748
22 Sep 2012 20:51

It is in views/users/view.html.php

What you have to do is to set super user as global moderator in Cobalt config.


Guest
24 Sep 2012 14:36

So close! You have been very helpful so far and I believe this is very close to working. I was able to make a user the author of their specific record using your advice. When this user is logged in they can see the 'Edit' menu. Unfortunately when they click Edit it gives a 'No Permissions' error.

On the Content Type I have checked Yes on Author can edit. I have also tried configuring the Cobalt permissions settings without success. Why would the user still be getting a no permissions error?


Sergey
Total posts: 13,748
24 Sep 2012 18:50

Dive me link and temp super admin I'll check.


Guest
25 Sep 2012 15:48

I send an email to This email address is being protected from spambots. You need JavaScript enabled to view it. document.getElementById('cloak0b7beee3167b9d9013046163187a7ac4').innerHTML = ''; var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy0b7beee3167b9d9013046163187a7ac4 = 'info' + '@'; addy0b7beee3167b9d9013046163187a7ac4 = addy0b7beee3167b9d9013046163187a7ac4 + 'mintjoomla' + '.' + 'com'; var addy_text0b7beee3167b9d9013046163187a7ac4 = 'info' + '@' + 'mintjoomla' + '.' + 'com';document.getElementById('cloak0b7beee3167b9d9013046163187a7ac4').innerHTML += ''+addy_text0b7beee3167b9d9013046163187a7ac4+''; with login info. Let me know if I should send it somewhere else. The email title is 'Please forward to Sergev'

Thanks for your help/time.


Sergey
Total posts: 13,748
26 Sep 2012 20:50

Your whole configuration was correct. There was small bug which I have fixed. Today is new version release.


Guest
27 Sep 2012 14:11

The new version has fixed the author edit feature, so thank you for that. However the new version has changed what users see when they log in and I'm not sure why. Now when a user logs in they can only see what they are the author of. In the previous version a user could log in and see all records, but the edit symbol would only appear on the articles they had access to. I have looked through the setting and can't find a way to fix this.

This is technically a new issue, so if you prefer I can make this a new topic. Thanks again!


Sergey
Total posts: 13,748
27 Sep 2012 20:45

I have alredy fixed it and reuploaded Cobalt pack with the same name and version. Just download it agan and update.


Guest
28 Sep 2012 09:45

Fixed! Thanks a lot, I've left a 5 star rating for you on JED.

Powered by Cobalt