crazedsanity / cs-battletrack

PHP-Based web application for tracking data in traditional paper-and-pencil role playing games.
http://www.crazedsanity.com/projects/cs-battletrack
Other
1 stars 1 forks source link

Permissions System (share character sheets, etc) #4

Open crazedsanity opened 11 years ago

crazedsanity commented 11 years ago

A permissions system would allow users to share their character sheets. It should allow read-only and read/write access.

Imported Comments:

[962] Comment (Dan@2010-10-20 15:46:28) In the cs-webapplibs project (SourceForge.net), in trunk/0.4, there is a "cs_genericPermission" library that was built for this purpose. Initial permissions should be somewhat loose: the GM of a campaign has full access to sheets, and users have full access to all sheets they own. Eventually, an interface should be added to allow a player to grant readonly/full access to another player (within the same campaign), along with a listing of what other players are in each campaign (i.e. a heading with the campaign title + GM, then bulleted items with each character + player, with "edit" and "view" links for those that they have permissions on).

[963] Comment (Dan@2010-10-20 15:52:42) Considerations: in the initial roll-out, the GM should just be able to assign players arbitrarily to their campaign (by character_id, where a character can ONLY be linked to a SINGLE campaign). This probably doesn't need player approval, though consideration should be made for moving a character OUT of a given campaign (i.e. re-using a character sheet).

Once a character is assigned, it would then be up to the player to allow the GM to have read+write access; the default would probably be readonly.

In the future, for the sake of security with a larger set of players, characters, and GMs, other considerations should be made:

crazedsanity commented 10 years ago

Originally from project.crazedsanity.com, issue 332.