arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Scope

Scopes

    call: [
      {
        description: "admin can remove player, newbie and admin can create player",
        actions: ["player.**"],
        scopes: ["player", "player.admin"],

์œ„ ์ •์ฑ…์€ player.** ํŒจํ„ด(player.get, player.list, player.message.list ๋“ฑ๊ณผ ์ผ์น˜)์˜ ์•ก์…˜์„ ํ˜ธ์ถœํ•˜๋Š” call ์ปค๋„ฅํ„ฐ๊ฐ€ ์‚ฌ์šฉ๋˜๋Š” ๋ชจ๋“  ์—”๋“œํฌ์ธํŠธ๊ฐ€ ์ˆ˜ํ–‰๋˜๊ธฐ ์ „์— ๊ณตํ†ต์ ์œผ๋กœ ํ‰๊ฐ€๋ฉ๋‹ˆ๋‹ค. ์šฐ์„  scopes ์ ‘๊ทผ ์ œ์–ด ํ”Œ๋Ÿฌ๊ทธ์ธ์— ๋”ฐ๋ผ context์— ์ฃผ์ž…๋œ (moleculer-iam ๊ฐ™์€ ์ปจํ…์ŠคํŠธ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ํ†ตํ•ด) OAuth ํ† ํฐ์ด ํš๋“ํ•œ ์Šค์ฝ”ํ”„๋ฅผ ํ™•์ธํ•˜๊ณ  ์ผ์น˜๋˜๋Š” ์Šค์ฝ”ํ”„๊ฐ€ ํ•˜๋‚˜๋ผ๋„ ์žˆ๋Š” ๊ฒฝ์šฐ ํ†ต๊ณผํ•ฉ๋‹ˆ๋‹ค.