Setup access control
The GameMaster module for FootballManager is a front-end module with which you can easily add new scores to a game. However, it must be noted that this module should not be made available to all visitors of your website. Otherwise everyone could add / delete scores...
Basically, we have two things to keep in mind: first, to keep control over who can see the module at all, and second, to define the settings for who can add / delete scores aka manage gamescores.
I will show you how to restrict the display and access so that only Super Users can use the module. This is very simple and does not take long. Of course you can also set up the release for another user group, but make sure that "wrong" user groups do not gain access via the inheritance.
First things first: Can you see me?

This is still the simple matter. In general, I recommend you to create a new menu item via the menu manager of Joomla! that only Super Users can see. This should refer to an article that also only Super Users can see. If this is created you have to set the access level to "Super Users" in the share settings of the GameMaster module.
So in the overview:
- Create new article and set the Access Level to Super Users
- Add menu item and set the Access Level to Super Users
- Set the access level in the module settings of your GameMaster Module to Super Users
- Place the module in the article
And that's it, you have now protected the display of the module from unauthorized viewing. In the next step we will take care of the access to entries of the FootballManager component.
DO IT WELL, DO IT SAFELY!
It would be a nice world if that was already all, the good news is: If you want to enable access for super users only, that was already all. The component itself is set up so that only super users can make entries via the frontend of the page. But if you still want to go a little deeper or if you want to enable access for other user groups (please just don't use public!) then read on here.
We now change the focus a bit and open the FootballManager component and then the options via the button in the upper right corner. In the settings we now switch to the Permissions tab. In this section we can edit the complete access permissions of the component, cool, isn't it? It is best not to touch too much here. Basically, the basic configuration should fit and does not need to be manipulated.
We now assume that users of the Publisher group need access to enter scores.
Note: For this, we must certainly also downgrade the module / module display, which we have set up in the first section for Super Users only and select Publisher in each case. Otherwise the publishers will have the permission for the manipulations but will not see an input mask for it...
You must now set the following permissions for the Publisher to "Allowed".
Again this is not needed if you only grant access to Super Users!
Scores Create | Enables the saving of scores |
Scores Delete | Allows deleting scores (in case of wrong input / corrections) |
Scores Edit | Allows to edit scores (in case of wrong input / corrections) (currently not used yet but could be important in future versions) |
Games Edit | Enables editing of games (So that the scores can also be transferred to the game mask) |