<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15738</bug_id>
          
          <creation_ts>2025-02-06 23:38:34 +0000</creation_ts>
          <short_desc>Allow changing yp-compat version on the edit layer page for users with correct privileges</short_desc>
          <delta_ts>2025-02-26 20:57:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Layer Index</product>
          <component>Layer Index</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Halstead">mhalstead</reporter>
          <assigned_to name="Mathieu Dubois-Briand">mathieu.dubois-briand</assigned_to>
          <cc>mathieu.dubois-briand</cc>
    
    <cc>randy.macleod</cc>
          
          <qa_contact name="apoorv sangal">apoorvsangal</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100875</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2025-02-06 23:38:34 +0000</bug_when>
    <thetext>Currently changing Yocto Project Compatible version for a layer requires editing the layer in the admin scaffolding. This is inconvenient UI and requires giving admin permissions to users who only need to access to edit layers.

We should add a selector for this on the main layer editing pages like https://layers.openembedded.org/layerindex/branch/master/edit/{layer}/.

The compatible version dropdown should only display to users with staff access.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100928</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-13 15:34:02 +0000</bug_when>
    <thetext>Likely not for Tim to do. Richard has some candidates in mind.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101210</commentid>
    <comment_count>2</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-02-24 12:47:40 +0000</bug_when>
    <thetext>I just sent a patch that should fix this issue.

https://lore.kernel.org/yocto-patches/20250224-mathieu-yp-compat-staff-v1-2-9b8d07f00af7@bootlin.com/T/#u</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101232</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2025-02-26 20:56:36 +0000</bug_when>
    <thetext>I&apos;ve tested this and deployed. Thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101233</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2025-02-26 20:57:08 +0000</bug_when>
    <thetext>I&apos;ve merged it into master-next. I&apos;ll wait for Tim to pull it into master.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>