Ticket #443 (closed Feature Request: invalid)

Opened 5 years ago

Last modified 7 months 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

Attachments

Change History

Changed 5 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 5 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 7 months ago by anonymous

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

Add/Change #443 (Display 'create a free account' only when logged as administrator)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.