Friday, 03 March 2017
  3 Replies
  1.1K Visits
0
Votes
Undo
Hello,

we are using jevents for a no-profit org which requires the use of many jevents cathegories and we face this issue that we couldn't solve yet;

let me go by example to make it easier:
let's say we have cathegories:
tennis, soccer, cards and public (for everyone even unregistered users)

we managed to have specific user groups that enable the view of each of these calendars, e.g.
user-group-calendar-tennis (and cathegory tennis refers to such user group)
user-group-calendar-soccer
user-group-calendar-public
etc

what we cannot do, is to have user groups that enable the creation of events just limited to a cathegory: let's say:
user-group-create-tennis enables the create page just for the tennis cathegory
user-group-create-soccer enables the create page just for the soccer cathegory
etc

the users that belong to user-group-create-tennis indeed can create events for tennis, but in the "cathegory" dropdown they can choose soccer and public as well;
that is not really what we want;

we tried to limit the permissions over the specific jevent cathegory, e.g. over the tennis cathegory deny creation to any user group other than user-group-create-tennis, but then a user that belongs to
user-group-create-tennis AND user-group-create-soccer would see only tennis
and this is not really the right thing;

any idea?
b.r.
Giovanni
Friday, 03 March 2017 09:24
·
#184587
0
Votes
Undo
Hello Giovanni,

If the user can post in two groups they will always be able to post into both categories.

If you allow creation of events to the standard user access level, but then deny to the other user groups only allowing the one associated with the category then they can only create the event.

Do you have sub categories?
Should users be able to post in more than 1 categories at any point?

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Friday, 03 March 2017 13:53
·
#184637
0
Votes
Undo
Hello Tony

thanks very much for your reply, really appreciated;

> Do you have sub categories?

no, I don't;
I have many different categories, but the structure of categories is flat and not hierarchical;

> Should users be able to post in more than 1 categories at any point?

yes, I am failing in limiting the creation of new events on more than 1 category AND not all of them;

to give you the idea on what I did (a bit verbose and maybe redundant but hopefully complete)

I created User Groups (u.g.) under "Registered" such as:
Tennis Event Viewer u.g.
Soccer Event Viewer u.g.
and
Public Event Viewer u.g. under "Public"

I created User Groups under "Publisher" such as:
Tennis Event Manager u.g.
Soccer Event Manager u.g.
Public Event Manager u.g.

I created the following Access Level which have access to the following user groups
Tennis Event Access => Tennis Event Viewer u.g.
Soccer Event Access => Soccer Event Viewer u.g.
Public Event Access => Public Event Viewer u.g.
and an additional access level
Event Manager Access => Tennis Event Manager u.g., Soccer Event Manager u.g., Public Event Manager u.g.

The following categories refer to the following access levels:
Tennis => Tennis Event Access
Soccer => Soccer Event Access
Pub => Public Event Access

and under "menu", the "Create Jevents" entry refers to the Event Manager Access

the viewing is great:
the unregistered viewer sees events of Pub,
Tom is just a tennis player, is registered as Tennis Event Viewer u.g. and views only pub + tennis events, great;
then if I extend it to Soccer Event Viewer u.g., he views also soccer events;

problem comes to creation:
Pete is the tennis teacher and overall manager, belongs to Tennis Event Manager u.g. and Pub Event Manager u.g.:
when he reaches the create-event page, at the list "categories" I wish he would see: tennis and pub, but now he sees also soccer;

same for Carl, he is just soccer teacher, belongs to Soccer Event Manager u.g. but the list of categories in the create-event page contains all entries.

any suggestion is welcome,
thanks
Giovanni
Wednesday, 08 March 2017 11:23
·
#184859
0
Votes
Undo
Hello,

I see... This becomes complicated since it's not a hierarchy system.

What I would do at this point is change your JEvents system to use the Authorised user mode for event creation. Then in the authorized users you can configure who is authorised to create in x categories and what they are authorised to create.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.