<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>onozaty</author_name>
  <author_url>https://blog.hatena.ne.jp/onozaty/</author_url>
  <blog_title>Enjoy*Study</blog_title>
  <blog_url>https://blog.enjoyxstudy.com/</blog_url>
  <categories>
    <anon>[programming]</anon>
    <anon>Redmine</anon>
  </categories>
  <description>特定ユーザに対して一部管理者メニューを非表示にしたいといった要望です。(2つあって、2つ目の方) 一律非表示ならば、CSSで出来るのですが、特定ユーザに対してのみ適用したいのでJavaScriptで書く必要があります。 以下のサンプルでは、ユーザID:10のユーザに対して、ワークフロー、選択肢の値、設定の3つを非表示にしています。 設定内容 Insertion position: Head of all pages $(function() { // user_id = 10 に対して非表示に if (ViewCustomize.context.user.id == 10) { $('li:h…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.enjoyxstudy.com%2Fentry%2F2020%2F09%2F21%2F000000&quot; title=&quot;特定ユーザに対して一部管理者メニューを非表示にする(Redmine View Customize Plugin) - Enjoy*Study&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>https://cdn-ak.f.st-hatena.com/images/fotolife/o/onozaty/20200921/20200921224717.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-09-21 00:00:00</published>
  <title>特定ユーザに対して一部管理者メニューを非表示にする(Redmine View Customize Plugin)</title>
  <type>rich</type>
  <url>https://blog.enjoyxstudy.com/entry/2020/09/21/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
