- changed status to open
Multiple user accounts & finer grained access control
Issue #3
open
Create some sort of list to control users and what API methods they have access to. This would allow for multiple people to be able to log into SwiftApi at once.
You could also create "groups". A read-only group for example who can monitor the server but not interact with it.
Here's an example of how the config could look:
groups:
Owner:
- *
Moderator:
- addToWhitelist
- announce
- ban
- banIp
- getBannedIps
- getBannedPlayers
- getBukkitVersion
- getConsoleMessages
- getOfflinePlayer
- getOfflinePlayers
- getOps
- getPlayer
- getPlayers
- getPlugin
- getPlugins
- getServer
- getServerVersion
- getWhitelist
- getWorld
- getWorlds
- kick
- ping
- removeFromWhitelist
- setGameMode
- unBan
- unBanIp
ReadOnly:
- getBannedIps
- getBannedPlayers
- getBukkitVersion
- getConsoleMessages
- getOfflinePlayer
- getOfflinePlayers
- getOps
- getPlayer
- getPlayers
- getPlugin
- getPlugins
- getServer
- getServerVersion
- getWorld
- getWorlds
Console:
- getConsoleMessages
- runConsoleCommand
defaultGroup: ReadOnly
users:
notch:
- Moderator
phybros:
- Owner
anotherplayer:
- ReadOnly
- Console
Comments (1)
-
reporter - Log in to comment
This should be the big feature to push for the 2.0 release