test.bsdl 638 B

12345678910111213141516
  1. {
  2. usr: [ // Users
  3. { login: "admin", password: "admin", access_lvl: 0xFF_ui8, attributes: [], data: {} }
  4. { login: "guest", password: "", access_lvl: 0x00_ui8, attributes: [], data: {} }
  5. { login: "user", password: "any_user_password", access_lvl: 0x7F_ui8, attributes: [], data: {} }
  6. ],
  7. grp: [ // Groups
  8. { name: "SYSTEM", users: [ "admin", "guest" ], usr_attributes: [ "unremovable", "const_access_lvl" ], change_access_lvl: 0xFF_ui8 }
  9. ],
  10. msg: { // Messages between users
  11. admin_guest: [
  12. { from: "admin", to: "guest", content: "Hello, Guest. Please, login with your account." }
  13. ]
  14. }
  15. }