B8 Security: Authorization. Add Roles. (Wpf, Xamarin) - chempkovsky/CS2WPF-and-CS2XAMARIN GitHub Wiki

  • With lform component for 'aspnetroleView' add three roles

    • AdmRole
    • EmpRole
    • GuestRole
  • Wpf

picture

  • Xamarin

picture

  • With lform component for 'aspnetrolemaskView' add three vectors of masks: One for each role

    • AdmRole
    • EmpRole
    • GuestRole
  • Each added vector must be vector of zeros.

  • Wpf picture

  • Xamarin

picture

  • With Checkedrole component for 'aspnetrolemaskView' bitmasks
    • For AdmRole-Role check Add, Update, Delete, Select for all models
    • Click Save button when you checked all checkboxes for AdmRole-Role

picture

  • With Checkedrole component for 'aspnetrolemaskView' bitmasks
    • For AdmRole-Role check all dashboards
    • Click Save button when you checked all checkboxes for AdmRole-Role

picture

Or for Xamarin

picture

  • With Checkedrole component for 'aspnetrolemaskView' bitmasks
    • For EmpRole-Role check Add, Update, Select for all models
    • Delete must be unchecked
    • Click Save button when you checked all checkboxes for EmpRole-Role

picture

  • With Checkedrole component for 'aspnetrolemaskView' bitmasks
    • For EmpRole-Role check all dashboards
    • Click Save button when you checked all checkboxes for EmpRole-Role

picture

Or for Xamarin

picture

  • With Checkedrole component for 'aspnetrolemaskView' bitmasks
    • For GuestRole-Role check Select for all models
    • Add, Update, Delete must be unchecked
    • Click Save button when you checked all checkboxes for GuestRole-Role

picture

  • With Checkedrole component for 'aspnetrolemaskView' bitmasks
    • For GuestRole-Role Uncheck all dashboards
    • Click Save button when you checked all checkboxes for GuestRole-Role

Or for Xamarin

picture

Xamarin Summary

picture