Answers.Body: <p>I guess this feature request will solve my problem... in the future:<br>
  <a href="http://feedback.buildwithcraft.com/forums/285221-feature-requests/suggestions/7197199-ability-to-hide-or-disable-fields-based-on-a-user" rel="nofollow noreferrer">http://feedback.buildwithcraft.com/forums/285221-feature-requests/suggestions/7197199-ability-to-hide-or-disable-fields-based-on-a-user</a></p>
  
  <p>But in the meantime I did it with a small css hacking (no choice): </p>
  
  <p><code>protected function includeResources()</code></p>
  
  <pre><code>switch ( $segments[ 0 ] ) {
      case 'entries' : case 'categories' : case 'assets' :
          craft()-&gt;templates-&gt;includeCssResource( 'plugin/styles.css' );
          break;
  }
  </code></pre>
  
  <p><code>style.css</code></p>
  
  <pre><code>// remove title and name fields from modal editor in CP assets page
      .hud {
          .body.elementeditor {
              .field[id$="filename-field"], .field[id$="-title-field"] {
                  display: none;
              }
              .field {
                  margin-top: 0px;
              }
          }
      }
  </code></pre>
  
  <p>Works fine :<br>
  <a href="https://i.sstatic.net/3SNix.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/3SNix.jpg" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-14T19:58:33.093Z
Answers.LastActivityDate: 2015-08-15T11:39:02.907Z
Answers.LastEditDate: 2015-08-15T11:39:02.907Z
Answers.UserDisplayName: migmaker
Answers.Body: <p>You can disable the capacity to upload, remove, or create subfolders for assets to whomever you wish through the users control panel.</p>
  
  <p>You could potentially solve this problem by limiting the users control to allow them only to upload and not change folders or delete. (see image below)</p>
  
  <p><a href="https://i.sstatic.net/y1npQ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/y1npQ.png" alt="Craft User Limitation"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-14T17:56:39.953Z
Answers.Text: No those permissions are not precise enough in my case. I just want to disable name and title fields.
Answers.UserDisplayName: migmaker
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-14T17:59:09.833Z
Answers.Text: hmm, really sorry wouldn't know then :/ ... Maybe there is some kind of plug-in that could help here.
Answers.UserDisplayName: Matteo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-14T18:00:57.487Z
Answers.Text: Right I am making it indeed :D
Answers.UserDisplayName: migmaker
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-19T19:15:20.750Z
Answers.Text: Awesome, goodluck my friend!
Answers.UserDisplayName: Matteo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-14T17:25:09.723Z
Answers.LastActivityDate: 2015-08-14T17:25:09.723Z
Answers.UserDisplayName: Matteo
Body: <p>I want to disable the modification of both the file name and title of a specific asset type.<br>
  How can I do that ?</p>
  
  <p><a href="https://i.sstatic.net/Nt1xH.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Nt1xH.jpg" alt="enter image description here"></a></p>
  
Tags: <assets><control-panel><permissions>
Title: Disable modification of assets title and name
ThreadText: # Disable modification of assets title and name
  
  (Asked by: username_0 on 2015-08-14)
  
  I want to disable the modification of both the file name and title of a specific asset type.  
  How can I do that ?
  
  [![enter image description here](https://i.sstatic.net/Nt1xH.jpg)](https://i.sstatic.net/Nt1xH.jpg)
  
  **Tags:** assets, control-panel, permissions
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2015-08-14. Score: 5 | Accepted answer
  
  I guess this feature request will solve my problem... in the future:  
  <http://feedback.buildwithcraft.com/forums/285221-feature-requests/suggestions/7197199-ability-to-hide-or-disable-fields-based-on-a-user>
  
  But in the meantime I did it with a small css hacking (no choice):
  
  `protected function includeResources()`
  
  ```
  switch ( $segments[ 0 ] ) {
      case 'entries' : case 'categories' : case 'assets' :
          craft()->templates->includeCssResource( 'plugin/styles.css' );
          break;
  }
  
  ```
  
  `style.css`
  
  ```
  // remove title and name fields from modal editor in CP assets page
      .hud {
          .body.elementeditor {
              .field[id$="filename-field"], .field[id$="-title-field"] {
                  display: none;
              }
              .field {
                  margin-top: 0px;
              }
          }
      }
  
  ```
  
  Works fine :  
  [![enter image description here](https://i.sstatic.net/3SNix.jpg)](https://i.sstatic.net/3SNix.jpg)
  
  
  ---
  
  ### Answer by username_1 on 2015-08-14. Score: 1
  
  You can disable the capacity to upload, remove, or create subfolders for assets to whomever you wish through the users control panel.
  
  You could potentially solve this problem by limiting the users control to allow them only to upload and not change folders or delete. (see image below)
  
  [![Craft User Limitation](https://i.sstatic.net/y1npQ.png)](https://i.sstatic.net/y1npQ.png)
  
  > **Comments:**
  > **username_0**: No those permissions are not precise enough in my case. I just want to disable name and title fields.  
  > **username_1**: hmm, really sorry wouldn't know then :/ ... Maybe there is some kind of plug-in that could help here.  
  > **username_0**: Right I am making it indeed :D  
  > **username_1**: Awesome, goodluck my friend!  
  
  ---
  
  