×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: User rights for categorie usage

User rights for categorie usage 11 years 7 months ago #17315

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

I'm looking for an way to control which user-group can add hotspots within which category.

Example:

- Guests are allowed to add hotspots to "User Hotspot" category
- Registered Users are allowed to add hotspots to "User" and "Location" categoriy
- Moderator Users are allowed to add hotspots to "User", "Location" and "Event" categoriy

Maybe an Add Location site for each user-group?

Thanks in advance

Torsten

User rights for categorie usage 11 years 7 months ago #17382

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Torsten,
that is actually a very good idea, but I'll have to introduce ACL support per category level for this. Its not that easy and it will take a day or 2 to get everything from such a thing working. I don't know if it is going to be in the next release or not, but I'll implement it.

Daniel

User rights for categorie usage 11 years 7 months ago #17392

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

great to hear this :) I think it will be a nice feature B)

Kind regards Torsten

User rights for categorie usage 11 years 7 months ago #17394

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

I've another question...

How can I add an log out to the Add new HotSpot button to automatically log out the current user?

User rights for categorie usage 11 years 7 months ago #17410

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Why should you automatically log out the user when he submits a hotspot? I don't get the idea?
Daniel

User rights for categorie usage 11 years 7 months ago #17414

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

I'm using an "service" User log in for guest's adding an HotSpot with captcha before the add location site. Registered users post HotSpots with there own account.

So the best would be to check the username and if it is "service" user then send the HotSpot and log the user out.


Torsten

User rights for categorie usage 11 years 7 months ago #17453

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

I still have the problem with the log out and I hope you can help me.
One other solution could be to redirect to another page after sending the new hotspot (not to the single spot view then maybe to the map).

Kind regards Torsten

User rights for categorie usage 11 years 7 months ago #17454

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Torsten,
I'm still not sure that I understand.
Do you have unregistered users that post hotpsots? Or do you have a service level group that has the captcha shown to them?

In any case - logging out a user? Wtf... You do that to me and I won't be your customer anymore. Log-in and log-out are actions that the user has to initiate - or it should be clear to him that he will be logged automatically out after few minutes of inactivity. But logging him out after some activity is a suicide.

Daniel

User rights for categorie usage 11 years 7 months ago #17455

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

and one more ;)

While adding an HotSpot it's possible to select the access level (public/registered/special) and this is saved in the hotspots_marker table, column access (value 1,2,3,...) but the selection is not considered in the map view. Is this a bug or is this function not implemented right now?


Thanks in advance

Torsten

User rights for categorie usage 11 years 7 months ago #17456

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, this sounds like a bug... I'll check it out.
Daniel

User rights for categorie usage 11 years 7 months ago #17457

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

reg the "service user" log out:

After adding Content Templater default template to the Add Spot Form there was no chance to get the captcha working again...
Because of this I've created a small workaround:

1. Guestuser click on add spot
2. captcha site with hidden user/pw field appear
3. captcha unsuccessful -> nothing
4. captcha successful -> "service user" log in and redirect to add spot site

open point 5. while submitting the spot: if username = "serviceuser" log out or redirect to other page else proceed as usual :)

Maybe you want to have a look: Add Spot

I don't want to annoy my user's because of this I need the if... and I don't want to squeeze Guest's to register for adding spots and the recaptcha is not working for me :(

User rights for categorie usage 11 years 7 months ago #17478

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

sorry to bother you again, only want to ask if you have found a solution for the HotSpot access level problem?
And maybe an solution for the other question (log out or link to other site) :oops:


Many thanks in advance

Torsten

User rights for categorie usage 11 years 7 months ago #17479

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I haven't had a chance to work on the ACL for categories yet.

Sorry to be harsh, but what you try to do with the login is bullshit. It is better to fix the captcha and let unregistred users be unregistered, than to make tricks -> log them in and then out...

Why is the captcha not working with your template? Can we have a look?

Daniel

User rights for categorie usage 11 years 7 months ago #17480

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

sorry I mean this problem:

While adding an HotSpot it's possible to select the access level (public/registered/special) and this is saved in the hotspots_marker table, column access (value 1,2,3,...) but the selection is not considered in the map view. Is this a bug or is this function not implemented right now?


With the ACL I know it's a bigger job and you need your time so I'll wait :)

The recaptcha makes me crazy, I spend around 3 days to find a workaround for the problem and now I've enabled the function again to show you the problem and it's working :angry:
But it's not the first time I had this problem, last time you've changed anything can you remember?

I thought the problem was Content Templater which is loading the default TinyMCE Template through .js but now it's ok...

User rights for categorie usage 11 years 7 months ago #17481

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Interesting, each time I change anything on the Menu or site I have to open the hotspot config -> security and save it then the captcha is working at the moment...

User rights for categorie usage 11 years 7 months ago #17482

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Ok and here it is again, I've made some changes/translations in your German language files (only there) and after changing this captcha is not working anymore.
Then I've changed/reset the security settings for the whole directory to 755 and it's working again...

User rights for categorie usage 11 years 7 months ago #17486

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
That doesn't make any sense at all. The configuration is saved in the database and is not overridden by the menu settings or whatever. It must be something else. Next time when it is not working please don't touch the config and just ask me to have a look at it.

Kind regards,
Daniel

User rights for categorie usage 11 years 7 months ago #17495

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

no problem, will do so :)

Torsten

User rights for categorie usage 11 years 6 months ago #17513

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

only to keep you updated, it seems I've fixed the captcha problem...
After installing Akeeba Admin Tools and running the "Fix Permissions" and "Repair & Optimise Tables" the captcha is working :) Maybe it was a database problem...

And one question, any news regarding this :cheer: :

While adding an HotSpot it's possible to select the access level (public/registered/special) and this is saved in the hotspots_marker table, column access (value 1,2,3,...) but the selection is not considered in the map view. Is this a bug or is this function not implemented right now?

  • Page:
  • 1
Time to create page: 0.152 seconds