vincent-peugnet / antilope

Antilope private tracker for IRL sharing, allowing members to share anything inside communities.

Home Page:https://antilope-alpha.club1.fr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

user class can require an amount of managed sharables

vincent-peugnet opened this issue · comments

A new requirement for user Class could be the actual number of non-disabled managed sharables.

To do this, we could use the listener system. create a new event when a new manager is at work.
But ! we should also take care of disabled sharables. So this need also a disabled/enabled sharable event.
As sharables are created disabled by default, there is no use of checking at sharable creation

Check for userClass up or down when:

  • a sharable is enabled
  • a sharable is disabled
  • an user confirm management invitation