Гость
19 Сен 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.

Последние изменения: 02 Март 2014


Sergey
Total posts: 13,748
19 Сен 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.


Гость
20 Сен 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 Сен 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.


Гость
21 Сен 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 Сен 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.


Гость
24 Сен 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 Сен 2012 18:50

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


Гость
25 Сен 2012 15:48

I send an email to Этот адрес электронной почты защищен от спам-ботов. У вас должен быть включен JavaScript для просмотра. document.getElementById('cloakf7b70b52487ad6e37ce8bb5147451a2b').innerHTML = ''; var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addyf7b70b52487ad6e37ce8bb5147451a2b = 'info' + '@'; addyf7b70b52487ad6e37ce8bb5147451a2b = addyf7b70b52487ad6e37ce8bb5147451a2b + 'mintjoomla' + '.' + 'com'; var addy_textf7b70b52487ad6e37ce8bb5147451a2b = 'info' + '@' + 'mintjoomla' + '.' + 'com';document.getElementById('cloakf7b70b52487ad6e37ce8bb5147451a2b').innerHTML += ''+addy_textf7b70b52487ad6e37ce8bb5147451a2b+''; 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 Сен 2012 20:50

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


Гость
27 Сен 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 Сен 2012 20:45

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


Гость
28 Сен 2012 09:45

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

Работает на Cobalt