<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>TAMA_CHAN</author_name>
  <author_url>https://blog.hatena.ne.jp/TAMA_CHAN/</author_url>
  <blog_title>Kashiwara0205</blog_title>
  <blog_url>https://tama-chan.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>「プロジェクト内の権限管理が扱いづらいので改善したい」という要望が上がり&quot;簡単な権限処理&quot;に関して改善しました。 その時のことを備忘録として記載します。 簡単な権限処理と難しい権限処理 冒頭で&quot;簡単な権限処理&quot;について対応したと記載しました。 本記事内における&quot;簡単な権限処理&quot;と&quot;難しい権限処理&quot;の違いについて説明します。 簡単な権限処理 組織や役職で管理しているパターンが簡単な権限処理に該当します。 例えば以下のような感じ。 def has_register_authority? staff # リーダーなら登録可能 return true if staff.is_leader? retur…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftama-chan.hatenadiary.jp%2Fentry%2F2022%2F10%2F23%2F094836&quot; title=&quot;システムの権限処理を改善する - Kashiwara0205&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-10-23 09:48:36</published>
  <title>システムの権限処理を改善する</title>
  <type>rich</type>
  <url>https://tama-chan.hatenadiary.jp/entry/2022/10/23/094836</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
