Ticket #443 (closed Feature Request: invalid)

Opened 14 years ago

Last modified 10 years ago

Display 'create a free account' only when logged as administrator

Reported by: anonymous Owned by:
Priority: blocker Milestone: Not yet assigned to a Milestone
Component: Auth server, Feature request Version:
Keywords: Cc:

Description

Hi, I have removed the 'create a free account button' fron the login page as I have read in one post. This feature is great!!!

But my problem is that I want to display the 'Create a Free Account' button only when I am logged as administrator somewhere in the administration page. So How can I do this? Thanks a lot. It is very impostant... Mark

Change History

Changed 14 years ago by anonymous

I resolved the problem. I added the file manual_useradd.php and manual_useradd.tpl and it run very well. I can also add user.

But I want to display this page (and add user) only when I am logged as administrator, so that noone (except the administrator) has this feature. How can I reach this goal so that the page manual_useradd.php can be reached only by wifidog administrator?

Thanks Mark

Changed 14 years ago by networkfusion

  • status changed from new to closed
  • resolution set to invalid

You will need to use the permissions API as defined in http://dev.wifidog.org/wiki/doc/developer/UserRolesArchitecture. for examples, you will need to look through existing code.

Please use the mailing list for further assistance.

Changed 10 years ago by anonymous

no puedo crear una cuenta de administrador ne devuelve a la misma pantalla ayuda

Note: See TracTickets for help on using tickets.