support page protection
- fully protected: restricted to moderators (those with a configured role, or Manage Messages if no role is set)
- semi-protected: restricted to verified members (those with a configured role)
-
use a new table (see mediawiki) -
create db function to edit guild roles -
create command to edit guild roles -
create db function to restrict viewing/editing/deleting individual pages to certain roles -
create command to restrict viewing/editing/deleting individual pages to certain roles -
create db function to check restrictions (used before viewing, editing, or deleting) -
actually check restrictions when taking restricted actions