1
snakes
How to make a new module anonymous users available by default ?
  • 2004/9/28 16:20

  • snakes

  • Just popping in

  • Posts: 69

  • Since: 2004/8/8 0


Hi,

I'm developping a module but when I install it, by default it
is displayed only for registered users.
How can I make it available for anonymous users by default
at install time ?

Thnx

2
Mithrandir
Re: How to make a new module anonymous users available by default ?

You cannot.

By default, module and block access is added to groups, the user, who installs the module, is a member of.

3
rowdie
Re: How to make a new module anonymous users available by default ?
  • 2004/9/28 16:58

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Quote:

By default, module and block access is added to groups, the user, who installs the module, is a member of.


If that's the case couldn't the person installing the module just add themselves to the anonymous users group to create the behaviour the original poster wanted?

Rowd

4
Mithrandir
Re: How to make a new module anonymous users available by default ?

that should be a solution, yes.

But hard for a module writer to do

5
rowdie
Re: How to make a new module anonymous users available by default ?
  • 2004/9/28 17:03

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


sorry, I overlooked the 'creating a module' bit :)

It's not a bad general XOOPS user tip though.

6
snakes
Re: How to make a new module anonymous users available by default ?
  • 2004/9/29 9:53

  • snakes

  • Just popping in

  • Posts: 69

  • Since: 2004/8/8 0


Thanks for the answers.
Hmmm

7
snakes
Re: How to make a new module anonymous users available by default ?
  • 2004/9/30 15:14

  • snakes

  • Just popping in

  • Posts: 69

  • Since: 2004/8/8 0



8
DonXoop
Re: How to make a new module anonymous users available by default ?

Quote:
Mithrandir wrote:
By default, module and block access is added to groups, the user, who installs the module, is a member of.

This answers a question I had. I've noticed this behaviour and wondered why it happens. New modules are adding their rights to other groups which isn't desired. When I for example want to have an anon only block/module I have to visit a bunch of groups to remove the rights instead of just the Registerd group. Groups by my usage should only contain rights unique to that group. Other rights flow down.

Sorry to hijack the thread. Back on topic, I think keeping anon out of the automatic rights setting is a good thing. It is very easy to add a right to one group then forgetting to removing it and risking exposure.

Login

Who's Online

282 user(s) are online (91 user(s) are browsing Support Forums)


Members: 0


Guests: 282


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits