Support ⇒ Explain Please :: Archives ⇒ Module access to more than one group. :: Archived ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexExplain Please

Archived ⇒ Module access to more than one group.


Is there a way to limit access to a particular module to more than 1 group?

I would like to offer access to a module to a 'Members' customer group as well as one other group.


I do not want anonymous or non-registered people to have access.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux


The only way I have come up with for doing this is to create a group for that module and put those users in that group as well.

I am still pretty new using cpgnuke so hopefully this is the right way to approach this.

bitwise
01000100 01110010 01100001 01100111 01101111 01101110 01100110 01101100 01111001 00100000 01010010 01101111 01100011 01101011 01110011 00100001
See Profile for hint

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Red Hat/ Apache 1.3.33/ mySQL 4.0.22/ PHP 4.3.10/CPGNuke 9.0.6.1


bitwisehost wrote
The only way I have come up with for doing this is to create a group for that module and put those users in that group as well.

I am still pretty new using cpgnuke so hopefully this is the right way to approach this.


Sounds perfect to me bitwisehost. The whole basis of group permissions is to be able to have groups and sub-groups to make permissions easier to assign.

If you need people from group A and people from group B to be able to access an area, create group C and add the members from groups A and B into that group.

- |\\/|ystic

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Ubuntu 14.04.1/Apache 2/5.5.38/5.5.9/9.4.0.0


It would be handy if admin could add users and/or other groups into a group (nested groups).

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / Apache 1.3.31 / MySQL 4.0.20-log / PHP 4.3.10 / Dragonfly 9.0.1 Final


Nested groups sounds like a recipe for disaster. Seems like it would be messy programming-wise and might introduce too many unknown situations in the security of the site.

I would envision nested groups being used as a crutch for poor planning of a website. It would also introduce additional potential for strange anomolies in the functionality of a site.

The K.I.S.S. concept can sometimes be the best approach.

- |\\/|ystic

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Ubuntu 14.04.1/Apache 2/5.5.38/5.5.9/9.4.0.0


What if I have 2 groups with different forum permissions???

I have a gaming site with 2 game platforms. We recruit in both games to our clan. So we have forums that each game members/recruits should see. While we have modules that only members NOT recruits should see.

T4Dog

Don't ask until you've asked google

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/ Apache 2.0.63/ 4.1.22/ 5.2.6/ 9.1.2.1

All times are UTC